Single.Atan2Pi(Single, Single) 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.
Computes the arc-tangent for the quotient of two values and divides the result by pi
.
public:
static float Atan2Pi(float y, float x) = System::Numerics::IFloatingPointIeee754<float>::Atan2Pi;
public static float Atan2Pi (float y, float x);
static member Atan2Pi : single * single -> single
Public Shared Function Atan2Pi (y As Single, x As Single) As Single
Parameters
- y
- Single
The y-coordinate of a point.
- x
- Single
The x-coordinate of a point.
Returns
The arc-tangent of y
divided-by x
, divided by pi
.
Implements
Remarks
This computes arctan(y / x) / π
in the interval [-1, +1]
.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.