cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float qnanf (const char *tag); extern double qnan (const char *tag); extern long double qnanl (const char *tag); extern __float80 qnanw (const char *tag); extern __float128 qnanq (const char *tag); extern long_long_double qnanll (const char *tag); extern decimal_float qnandf (const char *tag); extern decimal_double qnand (const char *tag); extern decimal_long_double qnandl (const char *tag); extern decimal_long_long_double qnandll (const char *tag);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
In the mathcw library, the argument is expected to be string containing an unsigned hexadecimal integer, with an optional 0x prefix. Its low-order bits are installed in the low-order significand bits.
If the argument string is empty, or is a NULL pointer, an internal counter is incremented on each call and installed in the low-order significand bits.