Method Tan
Tan(BigRational, Int32)
Returns the tangent of the specified angle.
Declaration
public static BigRational Tan(BigRational x, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | An angle, measured in radians. |
System.Int32 | digits | The maximum number of fractional decimal digits in the return value. |
Returns
Type | Description |
---|---|
BigRational | The tangent of |
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!
Tan(BigRational)
Computes the tangent of a value.
Declaration
public static BigRational Tan(BigRational x)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value, in radians, whose tangent is to be computed. |
Returns
Type | Description |
---|---|
BigRational | The tangent of |
Remarks
This computes tan(x)
.
Part of the new NET 7 number type system see System.Numerics.ITrigonometricFunctions`1.Tan(`0).
The desired precision can preset by MaxDigits