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