cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern int signbitf (float x); extern int signbit (double x); extern int signbitl (long double x); extern int signbitw (__float80 x); extern int signbitq (__float128 x); extern int signbitll (long_long_double x); extern int signbitdf (decimal_float x); extern int signbitd (decimal_double x); extern int signbitdl (decimal_long_double x); extern int signbitdll (decimal_long_long_double x);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
Caution: The sign of a NaN is platform dependent, but that is not significant in the IEEE 754 arithmetic system.