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

`checkLiteral` overloads

== Synopses

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

Overload to avoid an error when the decimal floating&hyphen;point literal (without the suffix) can be interpreted as a `double` literal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdldfp/DecimalImpUtil/checkLiteral-0f.adoc[checkLiteral](double);
----

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

Generate an error if the specified `t` is bad decimal floating&hyphen;point&period; Note that this function is intended for use with literals


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
void
xref:BloombergLP/bdldfp/DecimalImpUtil/checkLiteral-00.adoc[checkLiteral](TYPE const& t);
----

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


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