values(5) values(5)
NAME
values - machine-dependent values
SYNOPSIS
#include <values.h>
DESCRIPTION
This file contains a set of manifest constants, conditionally defined
for particular processor architectures.
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.
BITS(type) The number of bits in a specified type (e.g. int).
HIBITS The value of a short integer with only the high-order bit
set.
HIBITL The value of a long integer with only the high-order bit
set.
HIBITI The value of an integer with only the high-order bit set.
MAXSHORT The maximum value of a signed short integer.
MAXLONG The maximum value of a signed long integer.
MAXINT The maximum value of a signed integer.
MAXFLOATLNMAXFLOAT
The maximum value of a single-precision floating-point
number, and its natural logarithm.
MAXDOUBLE, LNMAXDOUBL
The maximum value of a double-precision floating-point
number, and its natural logarithm.
MINFLOAT, LNMINFLOAT
The smallest positive value of a single-precision
floating-point number, and its natural logarithm.
MINDOUBLE, LNMINDOUBLE
The minimum positive value of a double-precision
floating-point number, and its natural logarithm.
FSIGNIF The number of significant bits in the mantissa of a
single-precision floating-point number.
DSIGNIF The number of significant bits in the mantissa of a
double-precision floating-point number.
Page 1 Reliant UNIX 5.44 Printed 11/98
values(5) values(5)
BITSPERBYTE The number of bits in a byte
EXPBASE The base of the exponent
DMAXEXP The maximum exponent of a double value
FMAXEXP The maximum exponent of a float value
DMINEXP The minimum exponent of a double value
FMINEXP The minimum exponent of a float value
DMAXPOWTWO The maximum power of two representable exactly as double
FMAXPOWTWO The maximum power of two representable exactly as float
IEEE 1, when IEEE standard representation is used
DEXPLEN The number of bits for the exponent of a double
FEXPLEN The number of bits for the exponent of a float
HIDDENBIT 1, when the significant bit of the mantissa is implicit
SEE ALSO
limits(4), math(5).
Page 2 Reliant UNIX 5.44 Printed 11/98