Language

MathF.ReciprocalSqrtEstimate(Single) メソッド

定義

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

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

パラメーター

x
Single

逆平方根を推定する数値。

返品

逆平方根 xの推定値。

注釈

x86/x64 ハードウェアでは、1.5 * 2^-12の最大相対エラーがあるRSQRTSS命令を使用できます。

ARM64 ハードウェアでは、単一の Newton-Raphson イテレーションを実行する FRSQRTE 命令を使用できます。

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

適用対象