]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/significand.3
Automated unformatting of parentheses using unformat_parens.sh
[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
4.TH SIGNIFICAND 3 2002-08-10 "gnu" "Linux Programmer's Manual"
5.SH NAME
6significand, significandf, significandl \-
7get mantissa of floating point number
8.SH SYNOPSIS
9.B #include <math.h>
10.sp
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
17Link with \-lm.
18.SH DESCRIPTION
19The
63aa9df0 20.BR significand ()
fea681da
MK
21function returns the mantissa of
22.I x
23scaled to the range [1,2).
24It is equivalent to
25.sp
26.in +8
c65433e6 27scalb(x, (double) \-ilogb(x))
fea681da
MK
28.in -8
29.PP
30This function exists mainly for use in certain standardized tests
31for IEEE 754 conformance.
32.SH HISTORY
33This function came from BSD.
34.SH "SEE ALSO"
35.BR ilogb (3),
36.BR scalb (3)