BloombergLP::bdldfp::DecimalUtil::isNan

Return true if the specified x is NaN and false otherwise. Note that this is equivalent to classify(x) == FP_NAN.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
bool
isNan(Decimal32 x);

Return Value

true if x is NaN, and false otherwise

Parameters

NameDescription
xvalue to classify