次の方法で共有


MathF.ReciprocalEstimate(Single) メソッド

定義

指定した数値の逆数の推定値を返します。

public:
 static float ReciprocalEstimate(float x);
public static float ReciprocalEstimate (float x);
static member ReciprocalEstimate : single -> single
Public Shared Function ReciprocalEstimate (x As Single) As Single

パラメーター

x
Single

逆数が推定される数値。

戻り値

Single

の逆数の x推定値。

注釈

x86/x64 ハードウェア RCPSS では、最大相対エラー 1.5 * 2^-12が .

ARM64 ハードウェアでは、1 つのNewton-Raphson反復を実行する命令を使用 FRECPE できます。

特殊なサポートがないハードウェアでは、これは単に返される 1.0 / x可能性があります。

適用対象