1SIGNIFICAND(3) Linux Programmer's Manual SIGNIFICAND(3)
2
3
4
6 significand, significandf, significandl - get mantissa of floating-
7 point number
8
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 versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
23
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
34 For an explanation of the terms used in this section, see
35 attributes(7).
36
37 ┌────────────────┬───────────────┬─────────┐
38 │Interface │ Attribute │ Value │
39 ├────────────────┼───────────────┼─────────┤
40 │significand(), │ Thread safety │ MT-Safe │
41 │significandf(), │ │ │
42 │significandl() │ │ │
43 └────────────────┴───────────────┴─────────┘
44
46 These functions are nonstandard; the double version is available on a
47 number of other systems.
48
50 ilogb(3), scalb(3)
51
53 This page is part of release 5.07 of the Linux man-pages project. A
54 description of the project, information about reporting bugs, and the
55 latest version of this page, can be found at
56 https://www.kernel.org/doc/man-pages/.
57
58
59
60GNU 2017-09-15 SIGNIFICAND(3)