summaryrefslogtreecommitdiff
path: root/Cython/Includes/libcpp/numeric.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/libcpp/numeric.pxd')
-rw-r--r--Cython/Includes/libcpp/numeric.pxd7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/numeric.pxd b/Cython/Includes/libcpp/numeric.pxd
index 670c6cfe8..0335a0bac 100644
--- a/Cython/Includes/libcpp/numeric.pxd
+++ b/Cython/Includes/libcpp/numeric.pxd
@@ -122,3 +122,10 @@ cdef extern from "<numeric>" namespace "std" nogil:
ForwardIt2 transform_exclusive_scan[ExecutionPolicy, ForwardIt1, ForwardIt2, T, BinaryOperation, UnaryOperation](
ExecutionPolicy&& policy, ForwardIt1 first, ForwardIt1 last, ForwardIt2 d_first,
T init, BinaryOperation binary_op, UnaryOperation unary_op)
+
+ # C++17
+ T gcd[T](T a, T b)
+ T lcm[T](T a, T b)
+
+ # C++20
+ T midpoint[T](T a, T b) except + \ No newline at end of file