BloombergLP::bdldfp::DecimalImpUtil::fabs

Return the absolute value of x.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType128
fabs(ValueType128 x);

Return Value

the absolute value of x

Parameters

NameDescription
xvalue whose absolute value is returned