significand(3M)
NAME
significand − significand function
SYNOPSIS
cc [ flag ... ] file ... −lm [ library ... ]
#include <math.h>
double significand(double x);
DESCRIPTION
The significand() function, along with the logb(3M) and scalb(3M) functions, allows users to verify compliance to ANSI/IEEE Std 754-1985 by running certain test vectors distributed by the University of California.
If x equals sig ∗ 2∗∗n with 1 ≤ sig < 2, then significand(x) returns sig for exercising the fraction-part(F) test vector. significand(x) is not defined when x is either 0, ±Inf or NaN.
RETURN VALUES
For exceptional cases, matherr(3M) tabulates the values to be returned as dictated by various Standards.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| MT-Level | MT-Safe |
SEE ALSO
logb(3M), matherr(3M), scalb(3M), attributes(5)
SunOS 5.6 — Last change: 29 Dec 1996