cc [ flag ... ] file ... -lsunmath -lm [ library ... ]
#include <sunmath.h>
double min_subnormal(void);
float min_subnormalf(void);
long double min_subnormall(void);
double max_subnormal(void);
float max_subnormalf(void);
long double max_subnormall(void);
double min_normal(void);
float min_normalf(void);
long double min_normall(void);
double max_normal(void);
float max_normalf(void);
long double max_normall(void);
double infinity(void);
float infinityf(void);
long double infinityl(void);
double quiet_nan(long n);
float quiet_nanf(long n);
long double quiet_nanl(long n);
double signaling_nan(long n);
float signaling_nanf(long n);
long double signaling_nanl(long n);
These functions return special values associated with ANSI/IEEE Std 754-1985 floating-point arithmetic.
min_subnormal() returns the smallest positive subnormal number. max_subnormal() returns the largest positive subnormal number.
min_normal() returns the smallest positive normal number (the underflow threshold). max_normal() returns the largest positive subnormal number (the overflow threshold).
infinity() returns positive infinity.
quiet_nan(n) returns a quiet NaN. signaling_nan(n) returns a signaling NaN. The parameter n is not used.
See attributes(5) for descriptions of the following attributes:
|
fpclassify(3M), ieee_sun(3M), isnand(3C), nan(3M), attributes(5)