Commit 70168c52 authored by Lars Buitinck's avatar Lars Buitinck

some missing math.h functions and macros in math.pxd

--HG--
extra : transplant_source : %D8%3C%96Q%8A%23%1E%F4%FF%3E%DF%7D%18%17%5E%00%12%C8%FCk
parent 6ac14e0b
cdef extern from "math.h" nogil:
double M_E
double M_LOG2E
double M_LOG10E
......@@ -14,6 +13,13 @@ cdef extern from "math.h" nogil:
double M_SQRT2
double M_SQRT1_2
# C99 constants
float INFINITY
float NAN
double HUGE_VAL
float HUGE_VALF
long double HUGE_VALL
double acos(double x)
double asin(double x)
double atan(double x)
......@@ -71,8 +77,15 @@ cdef extern from "math.h" nogil:
long lround(double)
double copysign(double, double)
float copysignf(float, float)
long double copysignl(long double, long double)
double erf(double)
float erff(float)
long double erfl(long double)
double erfc(double)
double erfcf(double)
long double erfcl(double)
double fdim(double x, double y)
double fma(double x, double y)
......@@ -82,4 +95,3 @@ cdef extern from "math.h" nogil:
double scalbn(double x, int n)
double nan(char*) # const char*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment