BloombergLP::bdldfp::DecimalUtil

This utility struct provides a namespace for functions using the decimal floating point types defined in the bdldfp_decimal package.

Synopsis

Declared in <bdldfp_decimalutil.h>

struct DecimalUtil;

Static Member Functions

NameDescription
ceil ceil overloads
classify classify overloads
copySign copySign overloads
decompose decompose overloads
exp exp overloads
fabs fabs overloads
floor floor overloads
fma fma overloads
fmod fmod overloads
format format overloads
isFinite isFinite overloads
isInf isInf overloads
isNan isNan overloads
isNormal isNormal overloads
isUnordered isUnordered overloads
llrint llrint overloads
log log overloads
log10 log10 overloads
logB logB overloads
lrint lrint overloads
lround lround overloads
makeDecimal64 makeDecimal64 overloads
makeDecimalRaw128 makeDecimalRaw128 overloads
makeDecimalRaw32 Create a Decimal32 object representing a decimal floating point number consisting of the specified significand and exponent, with the sign given by the significand (if signed). The behavior is undefined unless -9,999,999 <= significand <= 9,999,999 and -101 <= exponent <= 90.
makeDecimalRaw64 makeDecimalRaw64 overloads
multiplyByPowerOf10 multiplyByPowerOf10 overloads
nextafter Same as the related overload above for nextafter.
nexttoward nexttoward overloads
parseDecimal128 parseDecimal128 overloads
parseDecimal128Exact parseDecimal128Exact overloads
parseDecimal32 parseDecimal32 overloads
parseDecimal32Exact parseDecimal32Exact overloads
parseDecimal64 parseDecimal64 overloads
parseDecimal64Exact parseDecimal64Exact overloads
pow pow overloads
quantize quantize overloads
quantizeEqual quantizeEqual overloads
quantum quantum overloads
remainder remainder overloads
round round overloads
sameQuantum sameQuantum overloads
sqrt sqrt overloads
trunc trunc overloads