MathF.ReciprocalEstimate(Single) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した数値の逆数の推定値を返します。
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
逆数が推定される数値。
戻り値
の逆数の x
推定値。
注釈
x86/x64 ハードウェア RCPSS
では、最大相対エラー 1.5 * 2^-12
が .
ARM64 ハードウェアでは、1 つのNewton-Raphson反復を実行する命令を使用 FRECPE
できます。
特殊なサポートがないハードウェアでは、これは単に返される 1.0 / x
可能性があります。