Method Acos
Acos(BigRational, Int32)
Returns the angle whose cosine is the specified number.
Declaration
public static BigRational Acos(BigRational x, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | A number representing a cosine, where d must be greater than or equal to -1, but less than or equal to 1. |
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 -π/2 ≤ θ ≤ π/2.
-or- NaN if |
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!
Acos(BigRational)
Computes the arc-cosine of a value.
Declaration
public static BigRational Acos(BigRational x)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value whose arc-cosine is to be computed. |
Returns
Type | Description |
---|---|
BigRational | The arc-cosine of |
Remarks
This computes arccos(x)
in the interval [+0, +π]
radians.
Part of the new NET 7 number type system see System.Numerics.ITrigonometricFunctions`1.Acos(`0).
The desired precision can preset by MaxDigits