[#BloombergLP-bdldfp-DecimalUtil-copySign-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::copySign :relfileprefix: ../../../ :mrdocs: Same as the overload taking `Decimal32`. == Synopsis Declared in `<bdldfp_decimalutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] copySign( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] x, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] y); ---- == Return Value value with the magnitude of `x` and the sign of `y` == Parameters [cols="1,4"] |=== | Name| Description | *x* | value providing the magnitude | *y* | value providing the sign |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#