Computes the sine of the given multiple of π.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntaxpublic static double SinPi(
double x
)
Public Shared Function SinPi (
x As Double
) As Double
public:
static double SinPi(
double x
)
static member SinPi :
x : float -> float
Parameters
- x
- Type: SystemDouble
The argument.
Return Value
Type:
DoubleThe value of sin(
xπ).
RemarksThis function allows the user to increase performance and avoid inaccuracies due to the finite
precision of the stored constant PI in some cases. Suppose you need to compute
sin(xπ) for a large value of x.
See Also