1 2 3 4 5 6 7
#include <math.h> // for nan, NAN #include <sys/cdefs.h> // for __unused double nan(const char *__unused s) { return NAN; }