1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
7 .\" heavily based on glibc infopages, copyright Free Software Foundation
9 .TH SIGNIFICAND 3 2021-03-22 "GNU" "Linux Programmer's Manual"
11 significand, significandf, significandl \-
12 get mantissa of floating-point number
17 .BI "double significand(double " x );
18 .BI "float significandf(float " x );
19 .BI "long double significandl(long double " x );
25 Feature Test Macro Requirements for glibc (see
26 .BR feature_test_macros (7)):
33 /* Since glibc 2.19: */ _DEFAULT_SOURCE
34 || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
37 These functions return the mantissa of
39 scaled to the range [1,2).
40 They are equivalent to
44 scalb(x, (double) \-ilogb(x))
48 This function exists mainly for use in certain standardized tests
49 for IEEE 754 conformance.
51 For an explanation of the terms used in this section, see
59 Interface Attribute Value
64 T} Thread safety MT-Safe
70 These functions are nonstandard; the
72 version is available on a number of other systems.
74 .\" This function came from BSD.