OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / original / man3 / significand.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\" heavily based on glibc infopages, copyright Free Software Foundation
4 .TH SIGNIFICAND 3 2009-02-04 "GNU" "Linux Programmer's Manual"
5 .SH NAME
6 significand, significandf, significandl \-
7 get 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
17 Link with \fI\-lm\fP.
18 .sp
19 .in -4n
20 Feature 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
30 .SH DESCRIPTION
31 The
32 .BR significand ()
33 function returns the mantissa of
34 .I x
35 scaled to the range [1,2).
36 It is equivalent to
37 .sp
38 .in +4n
39 scalb(x, (double) \-ilogb(x))
40 .in
41 .PP
42 This function exists mainly for use in certain standardized tests
43 for IEEE 754 conformance.
44 .SH CONFORMING TO
45 These functions are nonstandard; the
46 .I double
47 version is available on a number of other systems.
48 .\" .SH HISTORY
49 .\" This function came from BSD.
50 .SH "SEE ALSO"
51 .BR ilogb (3),
52 .BR scalb (3)