Content-type: text/html
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 1≤ sig < 2, then these functions return sig.
Upon successful completion, these functions return sig.
If x is either 0, ±Inf or NaN, x is returned.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Stable |
MT-Level | MT-Safe |
logb(3M), scalb(3M), attributes(5)