Return a value with the magnitude of x and the sign of y.
Synopses
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);
Return a value with the magnitude of x and the sign of y.
static
DecimalImpUtil::ValueType32
copySign(
ValueType32 x,
ValueType32 y);
Return a value with the magnitude of x and the sign of y.
static
DecimalImpUtil::ValueType64
copySign(
ValueType64 x,
ValueType64 y);
Return Value
a value with the magnitude of x and the sign of y
Parameters
Name |
Description |
x |
value supplying the magnitude |
y |
value supplying the sign |
Created with MrDocs