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
18   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
19
20       significand(), significandf(), significandl():
21           /* Since glibc 2.19: */ _DEFAULT_SOURCE
22               || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
23

DESCRIPTION

25       These functions return the mantissa of x scaled  to  the  range  [1,2).
26       They are equivalent to
27
28           scalb(x, (double) -ilogb(x))
29
30       This  function  exists mainly for use in certain standardized tests for
31       IEEE 754 conformance.
32

ATTRIBUTES

34       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
35       tributes(7).
36
37       ┌────────────────────────────────────────────┬───────────────┬─────────┐
38Interface                                   Attribute     Value   
39       ├────────────────────────────────────────────┼───────────────┼─────────┤
40significand(), significandf(),              │ Thread safety │ MT-Safe │
41significandl()                              │               │         │
42       └────────────────────────────────────────────┴───────────────┴─────────┘
43

CONFORMING TO

45       These functions are nonstandard; the double version is available  on  a
46       number of other systems.
47

SEE ALSO

49       ilogb(3), scalb(3)
50

COLOPHON

52       This  page  is  part of release 5.13 of the Linux man-pages project.  A
53       description of the project, information about reporting bugs,  and  the
54       latest     version     of     this    page,    can    be    found    at
55       https://www.kernel.org/doc/man-pages/.
56
57
58
59GNU                               2021-03-22                    SIGNIFICAND(3)
Impressum