From: Robert Bradshaw Date: Thu, 26 Sep 2013 02:53:58 +0000 (-0700) Subject: Some math.h fixes, c99 isX macros. X-Git-Tag: 0.20b1~305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6213f0fa4a9c50fd4ae102c049746c6ef8c7ffa6;p=platform%2Fupstream%2Fpython-cython.git Some math.h fixes, c99 isX macros. --- diff --git a/Cython/Includes/libc/math.pxd b/Cython/Includes/libc/math.pxd index 78daf0a..5711cd3 100644 --- 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)