aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Includes/libc/math.pxd
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/tools/cython/Cython/Includes/libc/math.pxd
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/libc/math.pxd')
-rw-r--r--contrib/tools/cython/Cython/Includes/libc/math.pxd54
1 files changed, 27 insertions, 27 deletions
diff --git a/contrib/tools/cython/Cython/Includes/libc/math.pxd b/contrib/tools/cython/Cython/Includes/libc/math.pxd
index b002670b22..ef9ef1a916 100644
--- a/contrib/tools/cython/Cython/Includes/libc/math.pxd
+++ b/contrib/tools/cython/Cython/Includes/libc/math.pxd
@@ -1,27 +1,27 @@
-cdef extern from "<math.h>" nogil:
- const double M_E
- const double e "M_E" # as in Python's math module
- const double M_LOG2E
- const double M_LOG10E
- const double M_LN2
- const double M_LN10
- const double M_PI
- const double pi "M_PI" # as in Python's math module
- const double M_PI_2
- const double M_PI_4
- const double M_1_PI
- const double M_2_PI
- const double M_2_SQRTPI
- const double M_SQRT2
- const double M_SQRT1_2
+cdef extern from "<math.h>" nogil:
+ const double M_E
+ const double e "M_E" # as in Python's math module
+ const double M_LOG2E
+ const double M_LOG10E
+ const double M_LN2
+ const double M_LN10
+ const double M_PI
+ const double pi "M_PI" # as in Python's math module
+ const double M_PI_2
+ const double M_PI_4
+ const double M_1_PI
+ const double M_2_PI
+ const double M_2_SQRTPI
+ const double M_SQRT2
+ const double M_SQRT1_2
# C99 constants
- const float INFINITY
- const float NAN
- # note: not providing "nan" and "inf" aliases here as nan() is a function in C
- const double HUGE_VAL
- const float HUGE_VALF
- const long double HUGE_VALL
+ const float INFINITY
+ const float NAN
+ # note: not providing "nan" and "inf" aliases here as nan() is a function in C
+ const double HUGE_VAL
+ const float HUGE_VALF
+ const long double HUGE_VALL
double acos(double x)
double asin(double x)
@@ -91,19 +91,19 @@ cdef extern from "<math.h>" nogil:
long double erfcl(long double)
double fdim(double x, double y)
- double fma(double x, double y, double z)
+ double fma(double x, double y, double z)
double fmax(double x, double y)
double fmin(double x, double y)
double scalbln(double x, long n)
double scalbn(double x, int n)
double nan(const char*)
-
- int isinf(long double) # -1 / 0 / 1
+
+ int isinf(long double) # -1 / 0 / 1
bint isfinite(long double)
- bint isnan(long double)
+ bint isnan(long double)
bint isnormal(long double)
- bint signbit(long double)
+ bint signbit(long double)
int fpclassify(long double)
const int FP_NAN
const int FP_INFINITE