values.h
Purpose
Defines machine-dependent values.
Synopsis
#include <values.h>
Description
This header file contains a set of manifest constants
that are conditionally defined for particular processor
architectures. The model for integers is assumed to be a
ones- or twos-complement binary representation, in which
the sign is represented by the value of the high-order
bit.
BITS(type) The number of bits in the specified data
type
HIBITS A short integer with only the high-order
bit set (0x8000)
HIBITL A long integer with only the high-order
bit set (0x80000000)
HIBITI A regular integer with only the high-order
bit set (the same as HIBITL)
MAXSHORT The maximum value of a signed short
integer (0x7FFF == 32767)
MAXLONG The maximum value of a signed long integer
(0x7FFFFFFF == 2147483647)
MAXINT The maximum value of a signed regular
integer (the same as MAXLONG)
MAXFLOAT The maximum value of a single-precision
floating-point number
MAXDOUBLE The maximum value of a double-precision
floating-point number
LN_MAXDOUBLE The natural logarithm of MAXDOUBLE
MINFLOAT The minimum positive value of a single-
precision floating-point number
MINDOUBLE The minimum positive value of a double-
precision floating-point number
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
FMAXEXP The maximum exponent of a single-precision
floating-point number
DMAXEXP The maximum exponent of a double-precision
floating-point number
FMINEXP The minimum exponent of a single-precision
floating-point number
DMINEXP The minimum exponent of a double-precision
floating-point number
FMAXPOWTWO The largest power of two that can be
exactly represented as a single-precision
floating-point number
DMAXPOWTWO The largest power of two that can be
exactly represented as a double-precision
floating-point number.
File
/usr/include/values.h
Related Information
In this book: "math.h," "types.h."