86 lines
2.1 KiB
Groff
86 lines
2.1 KiB
Groff
.\" @(#)values.3 1.1 94/10/31 SMI; from S5
|
|
.TH VALUES 3 "6 October 1987"
|
|
.SH NAME
|
|
values \- machine-dependent values
|
|
.SH SYNOPSIS
|
|
.B #include <values.h>
|
|
.SH DESCRIPTION
|
|
.IX values() "" "\fLvalues()\fR \(em machine-dependent values"
|
|
.IX "machine dependent" "" "machine-dependent values \(em \fLvalues()\fR"
|
|
.LP
|
|
This file contains a set of manifest constants,
|
|
conditionally defined for particular processor architectures.
|
|
.LP
|
|
The model assumed for integers is binary representation
|
|
(one's or two's complement),
|
|
where the sign is represented by the value of the high-order bit.
|
|
.TP 20
|
|
.RI \s-1BITS\s0( type )
|
|
The number of bits in a specified type
|
|
(for instance, int).
|
|
.TP
|
|
.SM HIBITS
|
|
The value of a short integer with only the high-order bit set
|
|
(in most implementations, 0x8000).
|
|
.TP
|
|
.SM HIBITL
|
|
The value of a long integer with only the high-order bit set
|
|
(in most implementations, 0x80000000).
|
|
.TP
|
|
.SM HIBITI
|
|
The value of a regular integer with only the high-order bit set
|
|
(usually the same as
|
|
\s-1HIBITS\s0
|
|
or
|
|
\s-1HIBITL\s0).
|
|
.TP
|
|
.SM MAXSHORT
|
|
The maximum value of a signed short integer
|
|
(in most implementations, 0x7FFF \(== 32767).
|
|
.TP
|
|
.SM MAXLONG
|
|
The maximum value of a signed long integer
|
|
(in most implementations, 0x7FFFFFFF \(== 2147483647).
|
|
.TP
|
|
.SM MAXINT
|
|
The maximum value of a signed regular integer
|
|
(usually the same as
|
|
\s-1MAXSHORT\s0
|
|
or
|
|
\s-1MAXLONG\s0).
|
|
.TP
|
|
.SM MAXFLOAT
|
|
.TP
|
|
.SM LN_MAXFLOAT
|
|
The maximum value of a single-precision floating-point number,
|
|
and its natural logarithm.
|
|
.TP
|
|
.SM MAXDOUBLE
|
|
.TP
|
|
.SM LN_MAXDOUBLE
|
|
The maximum value of a double-precision floating-point number,
|
|
and its natural logarithm.
|
|
.TP
|
|
.SM MINFLOAT
|
|
.TP
|
|
.SM LN_MINFLOAT
|
|
The minimum positive value of a single-precision floating-point number,
|
|
and its natural logarithm.
|
|
.TP
|
|
.SM MINDOUBLE
|
|
.TP
|
|
.SM LN_MINDOUBLE
|
|
The minimum positive value of a double-precision floating-point number,
|
|
and its natural logarithm.
|
|
.TP
|
|
.SM FSIGNIF
|
|
The number of significant bits in the mantissa of a single-precision
|
|
floating-point number.
|
|
.TP
|
|
.SM DSIGNIF
|
|
The number of significant bits in the mantissa of a double-precision
|
|
floating-point number.
|
|
.SH "SEE ALSO"
|
|
.BR intro (3),
|
|
.BR intro (3M)
|