BloombergLP::bdldfp::DecimalUtil::isFinite

isFinite overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the related overload above for isFinite.

static
bool
isFinite(Decimal128 x);
» more...

Return true if x is neither infinity nor NaN.

static
bool
isFinite(Decimal32 x);
» more...

Same as the overload taking Decimal32.

static
bool
isFinite(Decimal64 x);
» more...

Return Value

true if x is neither infinity nor NaN, and false otherwise

Parameters

NameDescription
xvalue to classify