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