Method SinPi
SinPi(BigRational, Int32)
Computes the sine of a value that has been multiplied by pi
.
Declaration
public static BigRational SinPi(BigRational x, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value, in half-revolutions, that is multipled by |
System.Int32 | digits | The maximum number of fractional decimal digits in the return value.digits |
Returns
Type | Description |
---|---|
BigRational | The sine of |
Remarks
This computes sin(x * π)
.
The desired precision can preset by MaxDigits
SinPi(BigRational)
Computes the sine of a value that has been multiplied by pi
.
Declaration
public static BigRational SinPi(BigRational x)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value, in half-revolutions, that is multipled by |
Returns
Type | Description |
---|---|
BigRational | The sine of |
Remarks
This computes sin(x * π)
.
Part of the new NET 7 number type system see System.Numerics.ITrigonometricFunctions`1.SinPi(`0).
The desired precision can preset by MaxDigits