1significand(3)             Library Functions Manual             significand(3)
2
3
4

NAME

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

LIBRARY

10       Math library (libm, -lm)
11

SYNOPSIS

13       #include <math.h>
14
15       double significand(double x);
16       float significandf(float x);
17       long double significandl(long double x);
18
19   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
20
21       significand(), significandf(), significandl():
22           /* Since glibc 2.19: */ _DEFAULT_SOURCE
23               || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
24

DESCRIPTION

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

ATTRIBUTES

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

STANDARDS

46       None.
47
48       significand()
49              BSD.
50

HISTORY

52       significand()
53              BSD.
54

SEE ALSO

56       ilogb(3), scalb(3)
57
58
59
60Linux man-pages 6.05              2023-07-20                    significand(3)
Impressum