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