The <values.h> header file


  
This header file contains a set of various platform-dependent constants, which allow making more portable programs:


NameTypeValueMeaning
BITSPERBYTEunsigned int8Number of bits per one byte
MAXSHORTshort int0x7FFFMaximal value which can be stored in a short int variable
MAXINTint0x7FFF (0x7FFFFFFF)Maximal value which can be stored in an int variable
MAXLONGlong int0x7FFFFFFFLMaximal value which can be stored in a long int variable
HIBITSshort int0x8000The most significant bit mask for the short int type
HIBITIint0x8000 (0x8000000)The most significant bit mask for the int type
HIBITLlong int0x80000000LThe most significant bit mask for the long int type
DMAXEXPint999Maximal floating point exponent for double precision; greater exponents are principally possible (up to 16383), but not supported in all math functions
FMAXEXPint999Maximal floating point exponent for single precision
DMINEXPint-999Minimal floating point exponent for double precision; smaller exponents are principally possible (up to -16383), but not supported in all math functions
FMINEXPint-999Minimal floating point exponent for single precision
MAXDOUBLEdouble9.999999999999999e999Maximal floating point number for double precision (see notes about DMAXEXP)
MAXFLOATfloat9.999999999999999e999Maximal floating point number for single precision
MINDOUBLEdouble-1e-999Minimal floating point number for single precision (see notes about DMINEXP)
MINFLOATfloat-1e-999Minimal floating point number for single precision
DSIGNIFunsigned int64Number of mantissa bits for double precision
FSIGNIFunsigned int56Number of mantissa bits for single precision
DMAXPOWTWOunsigned int3321Maximal power of two in double precision
FMAXPOWTWOunsigned int3321Maximal power of two in single precision
_DEXPLENunsigned int15Number of exponent bits for double precision
_FEXPLENunsigned int15Number of exponent bits for single precision
_EXPBASEunsigned int10Exponent base used for floating point representation
_IEEEint0Boolean flag: tells that TI floats are not compatible with IEEE standard
LN_MAXDOUBLEdouble2303.58509299Natural logarithm of MAXDOUBLE
LN_MINDOUBLEdouble-2300.2825079Natural logarithm of MINDOUBLE


Return to the main index