projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70168c5
)
Some math.h fixes, c99 isX macros.
author
Robert Bradshaw
<robertwb@gmail.com>
Thu, 26 Sep 2013 02:53:58 +0000
(19:53 -0700)
committer
Robert Bradshaw
<robertwb@gmail.com>
Thu, 26 Sep 2013 02:53:58 +0000
(19:53 -0700)
--HG--
extra : transplant_source : %A2%F5%D0%5C%3B%7E%E9%BC%A3s%29%BBr%D7%06N%BC%88%F4%BB
Cython/Includes/libc/math.pxd
patch
|
blob
|
history
diff --git
a/Cython/Includes/libc/math.pxd
b/Cython/Includes/libc/math.pxd
index
78daf0a
..
5711cd3
100644
(file)
--- a/
Cython/Includes/libc/math.pxd
+++ b/
Cython/Includes/libc/math.pxd
@@
-84,8
+84,8
@@
cdef extern from "math.h" nogil:
float erff(float)
long double erfl(long double)
double erfc(double)
-
double erfcf(double
)
- long double erfcl(double)
+
float erfcf(float
)
+ long double erfcl(
long
double)
double fdim(double x, double y)
double fma(double x, double y)
@@
-94,4
+94,9
@@
cdef extern from "math.h" nogil:
double scalbln(double x, long n)
double scalbn(double x, int n)
- double nan(char*) # const char*
+ double nan(const char*)
+
+ bint isfinite(long double)
+ bint isnormal(long double)
+ bint isnan(long double)
+ bint isinf(long double)