Half.Atan2(Half, Half) 方法

定义

计算两个值的商的反正切值。

public:
 static Half Atan2(Half y, Half x) = System::Numerics::IFloatingPointIeee754<Half>::Atan2;
public static Half Atan2 (Half y, Half x);
static member Atan2 : Half * Half -> Half
Public Shared Function Atan2 (y As Half, x As Half) As Half

参数

y
Half

点的 y 坐标。

x
Half

点的 x 坐标。

返回

除以 xy反正切值。

实现

注解

这以间隔[-π, +π]弧度计算arctan(y / x)

适用于