Same as the related overload above for copySign.
Declared in <bdldfp_decimalutil.h>
static
Decimal128
copySign(
Decimal128 x,
Decimal128 y);
value with the magnitude of x and the sign of y
| Name | Description |
|---|---|
| x | value providing the magnitude |
| y | value providing the sign |