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