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 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.
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)
SunOS 5.11 July 12, 2006 SIGNIFICAND(3M)
NAME
significand, significandf, significandl - significand function
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <math.h>
double significand(double x);
float significandf(float x);
long double significandl(long double x);
DESCRIPTION
If x equals sig * 2^n with 1<= sig < 2, then these functions return
sig.
RETURN VALUES
Upon successful completion, these functions return sig.
If x is either 0, +-Inf or NaN, x is returned.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------------+-----------------------------+
|Interface Stability | Stable |
+----------------------------+-----------------------------+
|MT-Level | MT-Safe |
+----------------------------+-----------------------------+
SEE ALSO
logb(3M), scalb(3M), attributes(7)
SunOS 5.11 July 12, 2006 SIGNIFICAND(3M)