1SIGNIFICAND(3)             Linux Programmer's Manual            SIGNIFICAND(3)
2
3
4

NAME

6       significand,  significandf,  significandl  -  get  mantissa of floating
7       point number
8

SYNOPSIS

10       #include <math.h>
11
12       double significand(double x);
13       float significandf(float x);
14       long double significandl(long double x);
15
16       Link with -lm.
17

DESCRIPTION

19       The significand() function returns the mantissa  of  x  scaled  to  the
20       range [1,2).  It is equivalent to
21
22               scalb(x, (double) -ilogb(x))
23
24       This  function  exists mainly for use in certain standardized tests for
25       IEEE 754 conformance.
26

HISTORY

28       This function came from BSD.
29

SEE ALSO

31       ilogb(3), scalb(3)
32
33
34
35gnu                               2002-08-10                    SIGNIFICAND(3)
Impressum