Single.Atan2(Single, Single) Method
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 of the quotient of two values.
public:
static float Atan2(float y, float x) = System::Numerics::IFloatingPointIeee754<float>::Atan2;
C#
public static float Atan2(float y, float x);
static member Atan2 : single * single -> single
Public Shared Function Atan2 (y As Single, x As Single) As Single
- y
- Single
The y-coordinate of a point.
- x
- Single
The x-coordinate of a point.
The arc-tangent of y
divided-by x
.
This computes arctan(y / x)
in the interval [-π, +π]
radians.
Продукт | Версії |
---|---|
.NET | 7, 8, 9, 10 |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: