From 6213f0fa4a9c50fd4ae102c049746c6ef8c7ffa6 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Wed, 25 Sep 2013 19:53:58 -0700 Subject: [PATCH] Some math.h fixes, c99 isX macros. --- Cython/Includes/libc/math.pxd | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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) -- 2.7.4