แก้ไข

แชร์ผ่าน


Vector256.FusedMultiplyAdd Method

Definition

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.

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);
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);
static member FusedMultiplyAdd : System.Runtime.Intrinsics.Vector256<double> * System.Runtime.Intrinsics.Vector256<double> * System.Runtime.Intrinsics.Vector256<double> -> System.Runtime.Intrinsics.Vector256<double>
Public Function FusedMultiplyAdd (left As Vector256(Of Double), right As Vector256(Of Double), addend As Vector256(Of Double)) As Vector256(Of Double)

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

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

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

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);
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);
static member FusedMultiplyAdd : System.Runtime.Intrinsics.Vector256<single> * System.Runtime.Intrinsics.Vector256<single> * System.Runtime.Intrinsics.Vector256<single> -> System.Runtime.Intrinsics.Vector256<single>
Public Function FusedMultiplyAdd (left As Vector256(Of Single), right As Vector256(Of Single), addend As Vector256(Of Single)) As Vector256(Of Single)

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