Edit

Share via


Single.FusedMultiplyAdd(Single, Single, Single) Method

Definition

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