C Standard Libraries C++

<cfloat>

Overview


MacroDescriptionValue

DBL_DIGDecimal digits of precision15
DBL_EPSILONSmallest value with DBL_EPSILON + 1.0 != 1.02.2204460492503131e-016
DBL_MANT_DIGBinary digits of mantissa (Binary precision)53
DBL_MAXMax value for a variable of this type1.7976931348623158e+308
DBL_MAX_10_EXPMax decimal exponent308
DBL_MAX_EXPMax binary exponent1024
DBL_MINMin positive value for this type2.2250738585072014e-308
DBL_MIN_10_EXPMin decimal exponent-307
DBL_MIN_EXPMin binary exponent-1021

FLT_DIGDecimal digits of precision6
FLT_EPSILONSmallest value with FLT_EPSILON + 1.0 != 1.01.192092896e-07
FLT_MANT_DIGBinary digits of mantissa (Binary precision)24
FLT_MAXMax value for a variable of this type3.402823466e+38
FLT_MAX_10_EXPMax decimal exponent38
FLT_MAX_EXPMax binary exponent128
FLT_MINMin positive value for this type1.175494351e-38
FLT_MIN_10_EXPMin decimal exponent-37
FLT_MIN_EXPMin binary exponent-125

LDBL_DIGDecimal digits of precision15
LDBL_EPSILONSmallest value with DBL_EPSILON + 1.0 != 1.02.2204460492503131e-016
LDBL_MANT_DIGBinary digits of mantissa (Binary precision)53
LDBL_MAXMax value for a variable of this type1.7976931348623158e+308
LDBL_MAX_10_EXPMax decimal exponent308
LDBL_MAX_EXPMax binary exponent1024
LDBL_MINMin positive value for this type2.2250738585072014e-308
LDBL_MIN_10_EXPMin decimal exponent-307
LDBL_MIN_EXPMin binary exponent-1021

FLT_GUARD 0
FLT_NORMALIZE 0
FLT_RADIXExponent radix for floating point types2
FLT_ROUNDSRounding mode for floating point addition - near1

 

© 2007–2024 XoaX.net LLC. All rights reserved.