共用方式為


INumberBase<TSelf>.MultiplyAddEstimate(TSelf, TSelf, TSelf) 方法

定義

計算 (left * right) + addend的估計值。

public:
 static override TSelf MultiplyAddEstimate(TSelf left, TSelf right, TSelf addend);
public static virtual TSelf MultiplyAddEstimate (TSelf left, TSelf right, TSelf addend);
static member MultiplyAddEstimate : 'Self * 'Self * 'Self -> 'Self
Public Shared Overrides Function MultiplyAddEstimate (left As TSelf, right As TSelf, addend As TSelf) As TSelf

參數

left
TSelf

要乘以 right的值。

right
TSelf

要乘以 left的值。

addend
TSelf

要加入至 left 結果的值乘以 right

傳回

TSelf

估計 (left * right) + addend

備註

在原生支援 FusedMultiplyAdd(TSelf, TSelf, TSelf)的硬體上,這可能會傳回捨入為一個三元運算的結果。

在沒有特殊支援的硬體上,這可能只會傳回 (left * right) + addend

適用於