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

适用于