Single.Atan2Pi(Single, Single) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算两个值的商的反正切值,并将结果除以 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
参数
- y
- Single
点的 y 坐标。
- x
- Single
点的 x 坐标。
返回
除y以的反正切x,除以pi。
实现
注解
此计算arctan(y / x) / π间隔 。[-1, +1]