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