[#BloombergLP-bdldfp-DecimalImpUtil-llrint-085]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::llrint
:relfileprefix: ../../../
:mrdocs:

`llrint` overloads

== Synopses

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

Return `x` rounded to the nearest `long long int`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
long long
xref:BloombergLP/bdldfp/DecimalImpUtil/llrint-08e.adoc[llrint](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/llrint-08e.adoc[_» more&period;&period;&period;_]#

Return an integer value nearest to the specified `x`&period; Round `x` using the current rounding mode&period; If `x` is &plus;&sol;&hyphen;infnity, NaN (either signaling or quiet) or the rounded value is outside the range of the return type, store the value of the macro `EDOM` into `errno` and return implementation&hyphen;defined value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
long long
xref:BloombergLP/bdldfp/DecimalImpUtil/llrint-04.adoc[llrint](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] x);
----

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

Return `x` rounded to the nearest `long long int`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
long long
xref:BloombergLP/bdldfp/DecimalImpUtil/llrint-03.adoc[llrint](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] x);
----

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


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