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

`fma` overloads

== Synopses

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

Return `x &ast; y &plus; z` as one ternary operation&period;


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

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/fma-0b.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/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/fma-08.adoc[fma](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] x,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] y,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] z);
----

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

Return `x &ast; y &plus; z` as one ternary operation&period;


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

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


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