ref: 804836b5a78086c89ac32bdab8e9884418c8b62f dir: /isnanf.c/
#include <u.h> int isNaNf(float f) { union { float f; u32int u; }x; x.f = f; return (x.u & (0xff<<23)) == (0xff<<23); }