[#BloombergLP-bdldfp-DecimalUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::DecimalUtil
:relfileprefix: ../../
:mrdocs:

This utility `struct` provides a namespace for functions using the decimal floating point types defined in the `bdldfp&lowbar;decimal` package&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct DecimalUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalUtil/ceil-0a8c.adoc[`ceil`] 
| `ceil` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/classify-0f.adoc[`classify`] 
| `classify` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/copySign-065.adoc[`copySign`] 
| `copySign` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/decompose-0f.adoc[`decompose`] 
| `decompose` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/exp-0d.adoc[`exp`] 
| `exp` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/fabs-01.adoc[`fabs`] 
| `fabs` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/floor-04f.adoc[`floor`] 
| `floor` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/fma-0778.adoc[`fma`] 
| `fma` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/fmod-0f.adoc[`fmod`] 
| `fmod` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/format-0d.adoc[`format`] 
| `format` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/isFinite-03b.adoc[`isFinite`] 
| `isFinite` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/isInf-03.adoc[`isInf`] 
| `isInf` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/isNan-04.adoc[`isNan`] 
| `isNan` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/isNormal-0a.adoc[`isNormal`] 
| `isNormal` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/isUnordered-01e.adoc[`isUnordered`] 
| `isUnordered` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/llrint-07.adoc[`llrint`] 
| `llrint` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/log-06f.adoc[`log`] 
| `log` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/log10-0e.adoc[`log10`] 
| `log10` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/logB-0c.adoc[`logB`] 
| `logB` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/lrint-05.adoc[`lrint`] 
| `lrint` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/lround-09.adoc[`lround`] 
| `lround` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/makeDecimal64-0c.adoc[`makeDecimal64`] 
| `makeDecimal64` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/makeDecimalRaw128-0f.adoc[`makeDecimalRaw128`] 
| `makeDecimalRaw128` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/makeDecimalRaw32.adoc[`makeDecimalRaw32`] 
| Create a `Decimal32` object representing a decimal floating point number consisting of the specified `significand` and `exponent`, with the sign given by the `significand` (if signed)&period; The behavior is undefined unless `&hyphen;9,999,999 &lt;&equals; significand &lt;&equals; 9,999,999` and `&hyphen;101 &lt;&equals; exponent &lt;&equals; 90`&period;
| xref:BloombergLP/bdldfp/DecimalUtil/makeDecimalRaw64-01f.adoc[`makeDecimalRaw64`] 
| `makeDecimalRaw64` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/multiplyByPowerOf10-02.adoc[`multiplyByPowerOf10`] 
| `multiplyByPowerOf10` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/nextafter-03.adoc[`nextafter`] 
| Same as the related overload above for `nextafter`&period;
| xref:BloombergLP/bdldfp/DecimalUtil/nexttoward-0a.adoc[`nexttoward`] 
| `nexttoward` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal128-07.adoc[`parseDecimal128`] 
| `parseDecimal128` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal128Exact-0c.adoc[`parseDecimal128Exact`] 
| `parseDecimal128Exact` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32-01.adoc[`parseDecimal32`] 
| `parseDecimal32` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32Exact-07.adoc[`parseDecimal32Exact`] 
| `parseDecimal32Exact` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal64-09.adoc[`parseDecimal64`] 
| `parseDecimal64` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal64Exact-0e.adoc[`parseDecimal64Exact`] 
| `parseDecimal64Exact` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/pow-05.adoc[`pow`] 
| `pow` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/quantize-04.adoc[`quantize`] 
| `quantize` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/quantizeEqual-00.adoc[`quantizeEqual`] 
| `quantizeEqual` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/quantum-01.adoc[`quantum`] 
| `quantum` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/remainder-0f.adoc[`remainder`] 
| `remainder` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/round-01d1.adoc[`round`] 
| `round` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/sameQuantum-06.adoc[`sameQuantum`] 
| `sameQuantum` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/sqrt-00.adoc[`sqrt`] 
| `sqrt` overloads
| xref:BloombergLP/bdldfp/DecimalUtil/trunc-07.adoc[`trunc`] 
| `trunc` overloads
|===



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