Math.ReciprocalEstimate(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an estimate of the reciprocal of a specified number.
public:
static double ReciprocalEstimate(double d);
public static double ReciprocalEstimate (double d);
static member ReciprocalEstimate : double -> double
Public Shared Function ReciprocalEstimate (d As Double) As Double
Parameters
- d
- Double
The number whose reciprocal is to be estimated.
Returns
An estimate of the reciprocal of d
.
Remarks
On ARM64 hardware this may use the FRECPE
instruction which performs a single Newton-Raphson iteration.
On hardware without specialized support, this may just return 1.0 / d
.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.