1significand(3M) Mathematical Library Functions significand(3M)
2
3
4
6 significand, significandf, significandl - significand function
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <math.h>
11
12 double significand(double x);
13
14
15 float significandf(float x);
16
17
18 long double significandl(long double x);
19
20
22 If x equals sig * 2^n with 1≤ sig < 2, then these functions return sig.
23
25 Upon successful completion, these functions return sig.
26
27
28 If x is either 0, ±Inf or NaN, x is returned.
29
31 No errors are defined.
32
34 See attributes(5) for descriptions of the following attributes:
35
36
37
38
39 ┌─────────────────────────────┬─────────────────────────────┐
40 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
41 ├─────────────────────────────┼─────────────────────────────┤
42 │Interface Stability │Stable │
43 ├─────────────────────────────┼─────────────────────────────┤
44 │MT-Level │MT-Safe │
45 └─────────────────────────────┴─────────────────────────────┘
46
48 logb(3M), scalb(3M), attributes(5)
49
50
51
52SunOS 5.11 12 Jul 2006 significand(3M)