ref: e3faf0f0cf70454fad0eec65a4e058c4dcab26c1 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; }