]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/significand.3
Added/updated glibc feature test macro requirements
[thirdparty/man-pages.git] / man3 / significand.3
CommitLineData
fea681da
MK
1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2.\" Distributed under GPL
3.\" based on glibc infopages
cc4615cc 4.TH SIGNIFICAND 3 2007-07-26 "GNU" "Linux Programmer's Manual"
fea681da
MK
5.SH NAME
6significand, significandf, significandl \-
7get mantissa of floating point number
8.SH SYNOPSIS
9.B #include <math.h>
c13182ef 10.sp
fea681da
MK
11.BI "double significand(double " x );
12.br
13.BI "float significandf(float " x );
14.br
15.BI "long double significandl(long double " x );
16.sp
e9329f6d 17Link with \fI-lm\fP.
cc4615cc
MK
18.sp
19.in -4n
20Feature Test Macro Requirements for glibc (see
21.BR feature_test_macros (7)):
22.in
23.sp
24.ad l
25.BR significand (),
26.BR significandf (),
27.BR significandl ():
28_SVID_SOURCE || _BSD_SOURCE
29.ad b
fea681da
MK
30.SH DESCRIPTION
31The
63aa9df0 32.BR significand ()
fea681da
MK
33function returns the mantissa of
34.I x
35scaled to the range [1,2).
36It is equivalent to
37.sp
38.in +8
c65433e6 39scalb(x, (double) \-ilogb(x))
fea681da
MK
40.in -8
41.PP
42This function exists mainly for use in certain standardized tests
43for IEEE 754 conformance.
889829be
MK
44.\" .SH HISTORY
45.\" This function came from BSD.
fea681da
MK
46.SH "SEE ALSO"
47.BR ilogb (3),
48.BR scalb (3)