—
Options · 2
| significand() | BSD. |
| significand() | BSD. |
NAME
significand, significandf, significandl - get mantissa of floating-point number
LIBRARY
Math library (libm, -lm)
SYNOPSIS
bash
#include <math.h>bash
double significand(double \nx\n);\n
\nfloat significandf(float \nx\n);\n
\nlong double significandl(long double \nx\n);significand(), significandf(), significandl():
bash
\n
/* Since glibc 2.19: */ _DEFAULT_SOURCE
\n
|| /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCEDESCRIPTION
These functions return the mantissa of x scaled to the range [1, FLT_RADIX). They are equivalent to
bash
scalb(x, (double) -ilogb(x))This function exists mainly for use in certain standardized tests for IEEE 754 conformance.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
| Interface | Attribute | Value |
| significand (), significandf (), significandl () | Thread safety | MT-Safe |
STANDARDS
None.
- significand()
BSD.
HISTORY
- significand()
BSD.
SEE ALSO
ilogb(3), scalb(3)