summaryrefslogtreecommitdiff
path: root/static/v10/man5/values.5
blob: f842738f24a4275abfaf2ea5f615894f65881ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.\"#ident	"@(#)ccsman:g5/values	1.2"
'\"macro stdmacro
.nr X
.if \nX=0 .ds x} VALUES 5 "630 MTG"  "\&"
.TH \*(x}
.SH NAME
values \- machine-dependent values
.SH SYNOPSIS
.B #include <ccs/values.h>
.SH DESCRIPTION
This file contains a set of manifest constants,
conditionally defined for particular processor architectures.
.P
The model assumed for integers is two's complement binary,
where the sign is represented by the value of the high-order bit.
.P
.TP 20
.RI \s-1BITS\s0( type\^ )
The number of bits in a specified type (e.g., int).
.TP 20
.SM
HIBITS
The value of a short integer with only the high-order bit set
(0x8000).
.TP 20
.SM
HIBITL
The value of a long integer with only the high-order bit set
(0x80000000).
.TP 20
.SM
HIBITI
The value of a regular integer with only the high-order bit set
(the same as \s-1HIBITS\s0). 
.TP 20
.SM
MAXSHORT
The maximum value of a signed short integer
(0x7FFF \(== 32767).
.TP 20
.SM
MAXLONG
The maximum value of a signed long integer
(0x7FFFFFFF \(== 2147483647).
.TP 20
.SM
MAXINT
The maximum value of a signed regular integer
(the same as \s-1MAXSHORT\s0).
.TP 30
.SM
MAXFLOAT, LN_MAXFLOAT
The maximum value of a single-precision floating-point number,
and its natural logarithm.
.TP 30
.SM
MAXDOUBLE, LN_MAXDOUBLE
The maximum value of a double-precision floating-point number,
and its natural logarithm.
.TP 30
.SM
MINFLOAT, LN_MINFLOAT
The minimum positive value of a single-precision floating-point number,
and its natural logarithm.
.TP 30
.SM
MINDOUBLE, LN_MINDOUBLE
The minimum positive value of a double-precision floating-point number,
and its natural logarithm.
.TP 20
.SM
FSIGNIF
The number of significant bits in the mantissa of a single-precision
floating-point number.
.TP 20
.SM
DSIGNIF
The number of significant bits in the mantissa of a double-precision
floating-point number.
.SH FILES
$DMD/include/ccs/values.h
.SH "SEE ALSO"
math(5).
.Ee