copySign overloads
Synopses
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for copySign.
static
Decimal128
copySign(
Decimal128 x,
Decimal128 y);
Return a value with the magnitude of x and the sign of y.
Same as the overload taking Decimal32.
Return Value
value with the magnitude of x and the sign of y
Parameters
Name |
Description |
x |
value providing the magnitude |
y |
value providing the sign |
Created with MrDocs