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