ref: 0cb5f1d1ba2e5570e22f00039bdc9c7006e7158b dir: /lib9/isnan-posix.c/
#include <lib9.h> int isNaN(double d) { return isnan(d); } int isInf(double d, int sign) { if(sign < 0) return isinf(d) < 0; return isinf(d); }