BloombergLP::bdldfp::DecimalImpUtil::copySign

copySign overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Return x with the sign of y.

static
DecimalImpUtil::ValueType128
copySign(
    ValueType128 x,
    ValueType128 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
DecimalImpUtil::ValueType32
copySign(
    ValueType32 x,
    ValueType32 y);
» more...

Return x with the sign of y.

static
DecimalImpUtil::ValueType64
copySign(
    ValueType64 x,
    ValueType64 y);
» more...