다음을 통해 공유


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

상호 제곱근을 추정할 수 있습니다.

반환

Single

상호 제곱근 x의 추정값입니다.

설명

x86/x64 하드웨어에서 최대 상대 오차1.5 * 2^-12가 있는 명령을 사용할 RSQRTSS 수 있습니다.

ARM64 하드웨어에서 단일 Newton-Raphson 반복을 수행하는 명령을 사용할 FRSQRTE 수 있습니다.

특수 지원이 없는 하드웨어에서는 이 값이 반환 1.0 / Sqrt(x)될 수 있습니다.

적용 대상