Page History
...
The result is in the range -1 ≤ result ≤ 1
Example
| Code Block |
|---|
// Calculate the cosine of Log2
Val = "0.227064512498507649434129923403947"
Result = SRP_Math("COS", Val)
!! Result = 0.9743314241342630809726475130258106 !! |
...
| Code Block |
|---|
// Calculate the cosine of PI
Val = "3.1415926535897932384626433832795"
Result = SRP_Math("COS", Val)
!! Result = -1.0 !! |
...