Vector.FusedMultiplyAdd 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| FusedMultiplyAdd(Vector<Double>, Vector<Double>, Vector<Double>) |
計算 ( |
| FusedMultiplyAdd(Vector<Single>, Vector<Single>, Vector<Single>) |
計算 ( |
FusedMultiplyAdd(Vector<Double>, Vector<Double>, Vector<Double>)
- 來源:
- Vector.cs
- 來源:
- Vector.cs
- 來源:
- Vector.cs
計算 (left * right) + addend,四捨五入為一個三元運算。
public:
static System::Numerics::Vector<double> FusedMultiplyAdd(System::Numerics::Vector<double> left, System::Numerics::Vector<double> right, System::Numerics::Vector<double> addend);
public static System.Numerics.Vector<double> FusedMultiplyAdd(System.Numerics.Vector<double> left, System.Numerics.Vector<double> right, System.Numerics.Vector<double> addend);
static member FusedMultiplyAdd : System.Numerics.Vector<double> * System.Numerics.Vector<double> * System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Function FusedMultiplyAdd (left As Vector(Of Double), right As Vector(Of Double), addend As Vector(Of Double)) As Vector(Of Double)
參數
傳回
(left * right) + addend,四捨五入為一個三進位運算。
備註
此計算left * right()時,精度無限大,結果相加 addend 至無限精確度,最後四捨五入至最接近的可表示值。
這與非融合序列不同,非融合序列會以無限精度計算left * right(),將結果四捨五入至最接近的可表示值,再將四捨五入結果相加 addend 至無限精確度,最後四捨五入至最近可表示值。
適用於
FusedMultiplyAdd(Vector<Single>, Vector<Single>, Vector<Single>)
- 來源:
- Vector.cs
- 來源:
- Vector.cs
- 來源:
- Vector.cs
計算 (left * right) + addend,四捨五入為一個三元運算。
public:
static System::Numerics::Vector<float> FusedMultiplyAdd(System::Numerics::Vector<float> left, System::Numerics::Vector<float> right, System::Numerics::Vector<float> addend);
public static System.Numerics.Vector<float> FusedMultiplyAdd(System.Numerics.Vector<float> left, System.Numerics.Vector<float> right, System.Numerics.Vector<float> addend);
static member FusedMultiplyAdd : System.Numerics.Vector<single> * System.Numerics.Vector<single> * System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Function FusedMultiplyAdd (left As Vector(Of Single), right As Vector(Of Single), addend As Vector(Of Single)) As Vector(Of Single)
參數
傳回
(left * right) + addend,四捨五入為一個三進位運算。
備註
此計算left * right()時,精度無限大,結果相加 addend 至無限精確度,最後四捨五入至最接近的可表示值。
這與非融合序列不同,非融合序列會以無限精度計算left * right(),將結果四捨五入至最接近的可表示值,再將四捨五入結果相加 addend 至無限精確度,最後四捨五入至最近可表示值。