ref: 537d4c5c119be15eec734bc443074a8d90b9c202 dir: /libnpe/isinf.c/
#include <math.h> #include "_npe.h" int isinf(double d) { if(isInf(d, 0) == 0) return 0; return isInf(d, -1) ? -1 : 1; }