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