Edit

Share via


Vector128.FusedMultiplyAdd Method

Definition

Overloads

FusedMultiplyAdd(Vector128<Double>, Vector128<Double>, Vector128<Double>)

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

FusedMultiplyAdd(Vector128<Single>, Vector128<Single>, Vector128<Single>)

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

FusedMultiplyAdd(Vector128<Double>, Vector128<Double>, Vector128<Double>)

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

public:
 static System::Runtime::Intrinsics::Vector128<double> FusedMultiplyAdd(System::Runtime::Intrinsics::Vector128<double> left, System::Runtime::Intrinsics::Vector128<double> right, System::Runtime::Intrinsics::Vector128<double> addend);
public static System.Runtime.Intrinsics.Vector128<double> FusedMultiplyAdd (System.Runtime.Intrinsics.Vector128<double> left, System.Runtime.Intrinsics.Vector128<double> right, System.Runtime.Intrinsics.Vector128<double> addend);
static member FusedMultiplyAdd : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Function FusedMultiplyAdd (left As Vector128(Of Double), right As Vector128(Of Double), addend As Vector128(Of Double)) As Vector128(Of Double)

Parameters

left
Vector128<Double>

The vector to be multiplied with right.

right
Vector128<Double>

The vector to be multiplied with left.

addend
Vector128<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

FusedMultiplyAdd(Vector128<Single>, Vector128<Single>, Vector128<Single>)

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

public:
 static System::Runtime::Intrinsics::Vector128<float> FusedMultiplyAdd(System::Runtime::Intrinsics::Vector128<float> left, System::Runtime::Intrinsics::Vector128<float> right, System::Runtime::Intrinsics::Vector128<float> addend);
public static System.Runtime.Intrinsics.Vector128<float> FusedMultiplyAdd (System.Runtime.Intrinsics.Vector128<float> left, System.Runtime.Intrinsics.Vector128<float> right, System.Runtime.Intrinsics.Vector128<float> addend);
static member FusedMultiplyAdd : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Function FusedMultiplyAdd (left As Vector128(Of Single), right As Vector128(Of Single), addend As Vector128(Of Single)) As Vector128(Of Single)

Parameters

left
Vector128<Single>

The vector to be multiplied with right.

right
Vector128<Single>

The vector to be multiplied with left.

addend
Vector128<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