Return the absolute value of x.
Synopsis
Declared in <bdldfp_decimalimputil.h>
static
DecimalImpUtil::ValueType32
fabs(ValueType32 x);
Description
Special value handling: * if x is NaN (either signaling or quiet), quiet NaN is returned. * if x is +/‐infinity or +/‐0, it is returned unmodified.
Return Value
the absolute value of x
Parameters
Name |
Description |
x |
value whose absolute value is returned |
Created with MrDocs