Datasheet
C and C++ Compiler Implementation Limits
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. D-7
DBL_MIN_10_EXP
Minimum value of base 10 exponent for type
double
–307
LDBL_MAX_10_EXP
Maximum value of base 10 exponent for type
long double
308
LDBL_MIN_10_EXP
Minimum value of base 10 exponent for type
long double
–307
Table D-5 Other floating-point characteristics
Constant Meaning Value
FLT_RADIX
Base (radix) of the ARM floating-point number representation 2
FLT_ROUNDS
Rounding mode for floating-point numbers (nearest) 1
FLT_DIG
Decimal digits of precision for
float
6
DBL_DIG
Decimal digits of precision for
double
15
LDBL_DIG
Decimal digits of precision for
long double
15
FLT_MANT_DIG
Binary digits of precision for type
float
24
DBL_MANT_DIG
Binary digits of precision for type
double
53
LDBL_MANT_DIG
Binary digits of precision for type
long double
53
FLT_EPSILON
Smallest positive value of x that 1.0 + x != 1.0 for type
float
1.19209290e–7F
DBL_EPSILON
Smallest positive value of x that 1.0 + x != 1.0 for type
double
2.2204460492503131e–16
LDBL_EPSILON
Smallest positive value of x that 1.0 + x != 1.0 for type
long double
2.2204460492503131e–16L
Table D-4 Floating-point limits (continued)
Constant Meaning Value