copySign overloads
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for copySign.
static
Decimal128
copySign(
Decimal128 x,
Decimal128 y);
» more...
Return a decimal value with the magnitude of the specifed x and the sign of the specified y. If x is NaN, then NaN with the sign of y is returned.
static
Decimal32
copySign(
Decimal32 x,
Decimal32 y);
» more...
Same as the overload taking Decimal32.
static
Decimal64
copySign(
Decimal64 x,
Decimal64 y);
» more...