IFloatingPointIeee754<TSelf>.Atan2Pi(TSelf, TSelf) 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 TSelf Atan2Pi(TSelf y, TSelf x);
public static abstract TSelf Atan2Pi (TSelf y, TSelf x);
static member Atan2Pi : 'Self * 'Self -> 'Self
Public Shared Function Atan2Pi (y As TSelf, x As TSelf) As TSelf
Parameters
- y
- TSelf
The y-coordinate of a point.
- x
- TSelf
The x-coordinate of a point.
Returns
TSelf
The arc-tangent of y
divided-by x
, divided by pi
.
Remarks
This computes arctan(y / x) / π
in the interval [-1, +1]
.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.