Commit 8af3d52d authored by Zackery Spytz's avatar Zackery Spytz Committed by Stefan Behnel

Add fpclassify() and FP_* constants to math.pxd

Closes #2514.
parent 588847be
...@@ -104,3 +104,9 @@ cdef extern from "<math.h>" nogil: ...@@ -104,3 +104,9 @@ cdef extern from "<math.h>" nogil:
bint isnan(long double) bint isnan(long double)
bint isnormal(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
const int FP_ZERO
const int FP_SUBNORMAL
const int FP_NORMAL
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