Page History
...
The ARCTAN2 operation computes the two-argument arc tangent of Value1 and Value2. Value1 and Value2 can be any number so long as they aren't both zero, else the following error is returned:
Code Block |
---|
"ERROR: Value1 and Value2 cannot both be zero." |
The angle returned is in the range −π < result ≤ π
Example
...
Code Block |
---|
// Calculate the two-argument arc tangent of Log2 and PI Val1 = "0.227064512498507649434129923403947" Val2 = "3.1415926535897932384626433832795" Result = SRP_Math("ARCTAN2", Val1, Val2) !! Result = 0.0721514152774001451411908714883551 !! |
...