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

`fma` overloads

== Synopses

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

Same as the related overload above for `fma`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128]
xref:BloombergLP/bdldfp/DecimalUtil/fma-07d.adoc[fma](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] x,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] y,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] z);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/fma-07d.adoc[_» more&period;&period;&period;_]#

Return, using the specified `x`, `y`, and `z`, the value of the expression `x &ast; y &plus; z`, rounded as one ternary operation according to the current decimal floating point rounding mode&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]
xref:BloombergLP/bdldfp/DecimalUtil/fma-0771.adoc[fma](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] x,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] y,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] z);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/fma-0771.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `fma`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64]
xref:BloombergLP/bdldfp/DecimalUtil/fma-0c.adoc[fma](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] x,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] y,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] z);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/fma-0c.adoc[_» more&period;&period;&period;_]#


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