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