ref: 9e06c67c440294aef306e4ea5a6ed10d30b5412f dir: /sys/src/cmd/unix/drawterm/libc/nan.h/
extern double __NaN(void); extern double __Inf(int); extern int __isNaN(double); extern int __isInf(double, int);