up previous next
Returns the sine of a given value with a given accuracy.
Fn.SinN(Val:RAT,Acc:INT):RAT
|
This function returns the sine of
Val rounded to the given
accuracy
Acc.
- @param Val Value of which to compute the sine.
- @param Acc The desired accuracy.
- @return The sine of Val rounded to the given accuracy Acc.
R := Fn.SinN(1, 30);
Dec(R, 40);
0.84147098480789650665250232163
-------------------------------
|