Method Atan2
Atan2(BigRational, BigRational, Int32)
Returns the angle whose tangent is the quotient of two specified numbers.
Declaration
public static BigRational Atan2(BigRational y, BigRational x, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | y | The y coordinate of a point. |
BigRational | x | The x coordinate of a point. |
System.Int32 | digits | The maximum number of fractional decimal digits in the return value. |
Returns
Type | Description |
---|---|
BigRational | An angle, θ, measured in radians, such that -π ≤ θ ≤ π, and tan(θ) = y / x, where
(x, y) is a point in the Cartesian plane.
|
Remarks
Note: In the current version, the function has not yet been finally optimized for performance
and the accuracy of the last digits has not yet been ensured!
Atan2(BigRational, BigRational)
Computes the arc-tangent of the quotient of two values.
Declaration
public static BigRational Atan2(BigRational y, BigRational x)
Parameters
Type | Name | Description |
---|---|---|
BigRational | y | The y-coordinate of a point. |
BigRational | x | The x-coordinate of a point. |
Returns
Type | Description |
---|---|
BigRational | The arc-tangent of y divided by x. |
Remarks
Part of the new NET 7 number type system."/>.
The desired precision can preset by MaxDigits