Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

min_normalf(3M)

Name

ieee_values, min_subnormal, min_subnormalf, min_subnormall, max_subnormal, max_subnormalf, max_subnormall, min_normal, min_normalf, min_normall, max_normal, max_normalf, max_normall, infinity, infinityf, infinityl, quiet_nan, quiet_nanf, quiet_nanl, signaling_nan, signaling_nanf, signaling_nanl - special floating-point values

Synopsis

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);

Description

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.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe

See also

fpclassify(3M), ieee_sun(3M), isnand(3C), nan(3M), attributes(5)