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(): _SVID_SOURCE ||
21 _BSD_SOURCE
22
24 The significand() function returns the mantissa of x scaled to the
25 range [1,2). It is equivalent to
26
27 scalb(x, (double) -ilogb(x))
28
29 This function exists mainly for use in certain standardized tests for
30 IEEE 754 conformance.
31
33 These functions are non-standard; the double version is available on a
34 number of other systems.
35
37 ilogb(3), scalb(3)
38
40 This page is part of release 3.22 of the Linux man-pages project. A
41 description of the project, and information about reporting bugs, can
42 be found at http://www.kernel.org/doc/man-pages/.
43
44
45
46GNU 2009-02-04 SIGNIFICAND(3)