significandf

Name

significandf -- floating point mantissa

Synopsis

#include <math.h>

float significandf(float x);

Description

The significandf() function shall return the mantissa of x, sig such that xsig × 2n scaled such that 1 ≤ sig < 2.

Note: This function is intended for testing conformance to IEC 60559/IEEE 754 Floating Point, and its use is not otherwise recommended.

This function is equivalent to scalb(x, (double)-ilogb(x)).

Returns

Upon successful completion, significandf() shall return the mantissa of x in the range 1 ≤ sig < 2.

If x is 0, ħHUGE_VALF, or NaN, the result is undefined.

See Also

significand(), significandl()