Vector256.FusedMultiplyAdd 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.

Overloads

FusedMultiplyAdd(Vector256<Double>, Vector256<Double>, Vector256<Double>)

Computes (left * right) + addend, rounded as one ternary operation.

FusedMultiplyAdd(Vector256<Single>, Vector256<Single>, Vector256<Single>)

Computes (left * right) + addend, rounded as one ternary operation.

FusedMultiplyAdd(Vector256<Double>, Vector256<Double>, Vector256<Double>)

Computes (left * right) + addend, rounded as one ternary operation.

C#
public static System.Runtime.Intrinsics.Vector256<double> FusedMultiplyAdd(System.Runtime.Intrinsics.Vector256<double> left, System.Runtime.Intrinsics.Vector256<double> right, System.Runtime.Intrinsics.Vector256<double> addend);

Parameters

left
Vector256<Double>

The vector to be multiplied with right.

right
Vector256<Double>

The vector to be multiplied with left.

addend
Vector256<Double>

The vector to be added to the result of left multiplied by right.

Returns

(left * right) + addend, rounded as one ternary operation.

Applies to

.NET 10 and .NET 9
Product Versions
.NET 9, 10

FusedMultiplyAdd(Vector256<Single>, Vector256<Single>, Vector256<Single>)

Computes (left * right) + addend, rounded as one ternary operation.

C#
public static System.Runtime.Intrinsics.Vector256<float> FusedMultiplyAdd(System.Runtime.Intrinsics.Vector256<float> left, System.Runtime.Intrinsics.Vector256<float> right, System.Runtime.Intrinsics.Vector256<float> addend);

Parameters

left
Vector256<Single>

The vector to be multiplied with right.

right
Vector256<Single>

The vector to be multiplied with left.

addend
Vector256<Single>

The vector to be added to the result of left multiplied by right.

Returns

(left * right) + addend, rounded as one ternary operation.

Applies to

.NET 10 and .NET 9
Product Versions
.NET 9, 10