up | Inhaltsverzeichniss | Kommentar

Manual page for IEEE_VALUES(3M)

ieee_values, min_subnormal, max_subnormal, min_normal, max_normal, infinity, quiet_nan, signaling_nan, HUGE, HUGE_VAL - functions that return extreme values of IEEE arithmetic

SYNOPSIS

#include <math.h>

double min_subnormal()

double max_subnormal()

double min_normal()

double max_normal()

double infinity()

double quiet_nan(n) long n;

double signaling_nan(n) long n;

#define HUGE (infinity())

#define HUGE_VAL (infinity())

DESCRIPTION

These functions return special values associated with ANSI/IEEE Std 754-1985 double-precision floating-point arithmetic: the smallest and largest positive subnormal numbers, the smallest and largest positive normalized numbers, positive infinity, and a quiet and signaling NaN. The long parameters n to quiet_nan(n) and signaling_nan(n) are presently unused but are reserved for future use to specify the significant of the returned NaN.

None of these functions are affected by IEEE rounding or trapping modes or generate any IEEE exceptions.

The macro HUGE returns +\(if in accordance with previous SunOS releases. The macro HUGE_VAL returns +\(if in accordance with the System V Interface Definition.

FILES

/usr/lib/libm.a

SEE ALSO

ieee_functions.3m


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97