SIGNIFICAND(3M) Mathematical Library Functions SIGNIFICAND(3M)

significand, significandf, significandl - significand function

c99 [ flag... ] file... -lm [ library... ]
#include <math.h>
double significand(double x);

float significandf(float x);

long double significandl(long double x);

If x equals sig * 2^n with 1sig < 2, then these functions return sig.

Upon successful completion, these functions return sig.

If x is either 0, ±Inf or NaN, x is returned.

No errors are defined.

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

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

logb(3M), scalb(3M), attributes(7)

July 12, 2006 SunOS 5.11