Same as the overload taking Decimal32.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
copySign(
    Decimal64 x,
    Decimal64 y);

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