Editar

Compartir a través de


Math.ReciprocalSqrtEstimate(Double) Method

Definition

Returns an estimate of the reciprocal square root of a specified number.

public:
 static double ReciprocalSqrtEstimate(double d);
public static double ReciprocalSqrtEstimate (double d);
static member ReciprocalSqrtEstimate : double -> double
Public Shared Function ReciprocalSqrtEstimate (d As Double) As Double

Parameters

d
Double

The number whose reciprocal square root is to be estimated.

Returns

An estimate of the reciprocal square root d.

Remarks

On ARM64 hardware this may use the FRSQRTE instruction which performs a single Newton-Raphson iteration.

On hardware without specialized support, this may just return 1.0 / Sqrt(d).

Applies to