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