BloombergLP::bdldfp::DecimalImpUtil::fabs

Return the absolute value of x.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType64
fabs(ValueType64 x);

Return Value

the absolute value of x

Parameters

NameDescription
xvalue whose absolute value is returned