Exponent functions

Exponent functions extract the exponent from a value or insert an exponent into a value, primarily to support decimal-floating point conversion library functions. They use special values to identify or specify the exponent type.

Table 1. Biased exponents macros and values
Macro Integer value
DFP_BIASED_EXPONENT_FINITE 0
DFP_BIASED_EXPONENT_INFINITY -1
DFP_BIASED_EXPONENT_QNAN -2
DFP_BIASED_EXPONENT_SNAN -3