Return a value with the magnitude of x and the sign of y.
Declared in <bdldfp_decimalimputil.h>
Return a value with the magnitude of x and the sign of y.
static
DecimalImpUtil::ValueType128
copySign(
ValueType128 x,
ValueType128 y);
» more...
Return a value with the magnitude of x and the sign of y.
static
DecimalImpUtil::ValueType32
copySign(
ValueType32 x,
ValueType32 y);
» more...
Return a value with the magnitude of x and the sign of y.
static
DecimalImpUtil::ValueType64
copySign(
ValueType64 x,
ValueType64 y);
» more...
a value with the magnitude of x and the sign of y
| Name | Description |
|---|---|
| x | value supplying the magnitude |
| y | value supplying the sign |