diff options
Diffstat (limited to 'Cython/Includes/libcpp/numbers.pxd')
-rw-r--r-- | Cython/Includes/libcpp/numbers.pxd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/numbers.pxd b/Cython/Includes/libcpp/numbers.pxd new file mode 100644 index 000000000..abd3069a1 --- /dev/null +++ b/Cython/Includes/libcpp/numbers.pxd @@ -0,0 +1,15 @@ +cdef extern from "<numbers>" namespace "std::numbers" nogil: + # C++20 mathematical constants + const double e + const double log2e + const double log10e + const double pi + const double inv_pi + const double inv_sqrtpi + const double ln2 + const double ln10 + const double sqrt2 + const double sqrt3 + const double inv_sqrt3 + const double egamma + const double phi |