[#BloombergLP-bdldfp-DecimalImpUtil-makeDecimal64-00a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::makeDecimal64
:relfileprefix: ../../../
:mrdocs:

`makeDecimal64` overloads

== Synopses

Declared in `&lt;bdldfp&lowbar;decimalimputil&period;h&gt;`

Return a `Decimal64` object that has the specified `significand` and `exponent`, rounded according to the current decimal rounding mode, if necessary&period; If an overflow condition occurs, store the value of the macro `ERANGE` into `errno` and return infinity with the appropriate sign&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-04.adoc[makeDecimal64](
    int significand,
    int exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-04.adoc[_» more&period;&period;&period;_]#

Construct a raw 64&hyphen;bit decimal value from the specified significand and exponent&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-06.adoc[makeDecimal64](
    long long significand,
    int exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-06.adoc[_» more&period;&period;&period;_]#

Construct a raw 64&hyphen;bit decimal value from the specified significand and exponent&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-0d.adoc[makeDecimal64](
    unsigned int significand,
    int exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-0d.adoc[_» more&period;&period;&period;_]#

Construct a raw 64&hyphen;bit decimal value from the specified significand and exponent&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-002.adoc[makeDecimal64](
    unsigned long long significand,
    int exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/makeDecimal64-002.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
