ref: 720ba9765a63caefebafc4d2923dd10febfe99e9 dir: /libnpe/isnormal.c/
#include <math.h> #include "_npe.h" int isnormal(double d) { return d == 0 || isNaN(d) || isInf(d, 0); }