Method Atan
Atan(BigRational, Int32)
Returns the angle whose tangent is the specified number.
Declaration
public static BigRational Atan(BigRational x, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | A number representing a tangent. |
System.Int32 | digits | The maximum number of fractional decimal digits in the return value.digits |
Returns
Type | Description |
---|---|
BigRational | An angle, θ, measured in radians, such that -π/2 ≤ θ ≤ π/2. |
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!
Atan(BigRational)
Computes the arc-tangent of a value.
Declaration
public static BigRational Atan(BigRational x)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value whose arc-tangent is to be computed. |
Returns
Type | Description |
---|---|
BigRational | The arc-tangent of |
Remarks
This computes arctan(x)
in the interval [-π / 2, +π / 2]
radians.
Part of the new NET 7 number type system see System.Numerics.ITrigonometricFunctions`1.Atan(`0).
The desired precision can preset by MaxDigits