BloombergLP::bdldfp::DecimalImpUtil::fabs

Return the absolute value of x.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return the absolute value of x.

static
DecimalImpUtil::ValueType128
fabs(ValueType128 x);
» more...

Return the absolute value of x.

static
DecimalImpUtil::ValueType32
fabs(ValueType32 x);
» more...

Return the absolute value of x.

static
DecimalImpUtil::ValueType64
fabs(ValueType64 x);
» more...

Return Value

the absolute value of x

Parameters

NameDescription
xvalue whose absolute value is returned