Edit

Share via


Single.FusedMultiplyAdd(Single, Single, Single) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the fused multiply-add of three values.

C#
public static float FusedMultiplyAdd(float left, float right, float addend);

Parameters

left
Single

The value which right multiplies.

right
Single

The value which multiplies left.

addend
Single

The value that is added to the product of left and right.

Returns

The result of left times right plus addend computed as one ternary operation.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10