beautypg.com

Zilog Z8F0130 User Manual

Page 443

background image

UM013037-1212

Floating Point

Zilog Developer Studio II – Z8 Encore!

User Manual

419

Macros

DBL_DIG

Number of decimal digits of precision.

DBL_MANT_DIG

Number of base-FLT_RADIX digits in the floating-point mantissa.

DBL_MAX

Maximum represented floating-point numbers.

DBL_MAX_EXP

Maximum integer such that FLT_RADIX raised to that power
approximates a floating-point number in the range of represented
numbers.

DBL_MAX_10_EXP Maximum integer such that 10 raised to that power approximates a

floating-point number in the range of represented value
((int)log10(DBL_MAX), and so on).

DBL_MIN

Minimum represented positive floating-point numbers.

DBL_MIN_EXP

Minimum negative integer such that FLT_RADIX raised to that
power approximates a positive floating-point number in the range
of represented numbers.

DBL_MIN_10_EXP

Minimum negative integer such that 10 raised to that power
approximates a positive floating-point number in the range of
represented values ((int)log10(DBL_MIN), and so on).

FLT_DIG

Number of decimal digits of precision.

FLT_MANT_DIG

Number of base-FLT_RADIX digits in the floating-point mantissa.

FLT_MAX

Maximum represented floating-point numbers.

FLT_MAX_EXP

Maximum integer such that FLT_RADIX raised to that power
approximates a floating-point number in the range of represented
numbers.

FLT_MAX_10_EXP

Maximum integer such that 10 raised to that power approximates a
floating-point number in the range of represented value
((int)log10(FLT_MAX)

, and so on).

FLT_MIN

Minimum represented positive floating-point numbers.

FLT_MIN_EXP

Minimum negative integer such that FLT_RADIX raised to that
power approximates a positive floating-point number in the range
of represented numbers

FLT_MIN_10_EXP

Minimum negative integer such that 10 raised to that power
approximates a positive floating-point number in the range of
represented values ((int)log10(FLT_MIN), and so on).

FLT_RADIX

Radix of exponent representation.

FLT_ROUND

Rounding mode for floating-point addition.
-1 indeterminable

0 toward zero

1 to nearest

2 toward positive infinity

3 toward negative infinity