Decompose value into sign, significand, and exponent.
Synopses
Declared in <bdldfp_decimalimputil.h>
Decompose value into sign, significand, and exponent.
static
int
decompose(
int* sign,
Uint128* significand,
int* exponent,
ValueType128 value);
Decompose value into sign, significand, and exponent.
static
int
decompose(
int* sign,
bsls::Types::Uint64* significand,
int* exponent,
ValueType64 value);
Decompose value into sign, significand, and exponent.
static
int
decompose(
int* sign,
unsigned int* significand,
int* exponent,
ValueType32 value);
Return Value
the floating‐point classification of value
Parameters
Name |
Description |
sign |
receives +1 or ‐1 for the sign |
significand |
receives the significand |
exponent |
receives the decimal exponent |
value |
decimal value to decompose |
Created with MrDocs