Macros That Supply Floating-Point Range Limits (Float.h) - Texas Instruments TMS320C2x User Manual

Optimizing c compiler digital signal processor
Hide thumbs Also See for TMS320C2x:
Table of Contents

Advertisement

Table 7−2. Macros That Supply Floating-Point Range Limits (float.h)
Macro
FLT_RADIX
FLT_ROUNDS
FLT_DIG
DBL_DIG
LDBL_DIG
FLT_MANT_DIG
DBL_MANT_DIG
LDBL_MANT_DIG
FLT_MIN_EXP
DBL_MIN_EXP
LDBL_MIN_EXP
FLT_MAX_EXP
DBL_MAX_EXP
LDBL_MAX_EXP
FLT_EPSILON
DBL_EPSILON
LDBL_EPSILON
FLT_MIN
DBL_MIN
LDBL_MIN
FLT_MAX
DBL_MAX
LDBL_MAX
FLT_MIN_10_EXP
DBL_MIN_10_EXP
LDBL_MIN_10_EXP
FLT_MAX_10_EXP
DBL_MAX_10_EXP
LDBL_MAX_10_EXP
Key to prefixes:
FLT_
applies to type float.
DBL_
applies to type double.
LDBL_
applies to type long double.
Value
2
1
6
24
−125
128
1.19209290E-07F
1.17549435E-38F
3.40282347E+38F
−37
38
Description
Base or radix of exponent representation
Rounding mode for floating-point addition (rounds toward
integer)
Number of decimal digits of precision for a float, double, or
long double
Number of base-FLT_RADIX digits in the mantissa of a float,
double, or long double
Minimum negative integer such that FLT_RADIX raised to
that power minus 1 is a normalized float, double, or long
double
Maximum integer such that FLT_RADIX raised to that power
is a representative finite float, double, or long double
Minimum positive float, double, or long double number x
such that 1.0 + x
1.0
Minimum positive float, double, or long double
Maximum positive float, double, or long double
Minimum negative integer such that 10 raised to that power
is in the range of normalized floats, doubles, or long doubles
Maximum positive integer such that 10 raised to that power
is in the range of finite floats, doubles, or long doubles
Run-Time-Support Functions
Header Files
7-7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C2x and is the answer not in the manual?

This manual is also suitable for:

Tms320c2xxTms320c5x

Table of Contents