Method SinCosPi
SinCosPi(BigRational)
Computes the sine and cosine of a value that has been multiplied by pi.
Declaration
public static (BigRational, BigRational) SinCosPi(BigRational x)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | x | The value, in radians, whose sine and cosine are to be computed. |
Returns
| Type | Description |
|---|---|
| System.ValueTuple<BigRational, BigRational> | The sine and cosine of |
Remarks
This computes (sin(x * pi), cos(x * pi)).
Part of the new NET 7 number type system see System.Numerics.ITrigonometricFunctions`1.SinCosPi(`0).
The desired precision can preset by MaxDigits