Technical FAQs

Ask a Question

VJL V2.6 : :error with the ATAN, ACOS and ASIN functions

Goals and Symptoms

VJL V2.6 : :error with the ATAN, ACOS and ASIN functions

Causes and Fixes

The workaround is :

- for ATAN :
Replace ATAN(X) by ATAN (X* 180/Pi)

- for ASIN :
Replace ASIN(X) by ATAN((X / Sqr(-X * X + 1))*180/PI)

- for ACOS :
Replace ACOS(X) by ATAN((-X / Sqr(-X * X + 1))*180/PI) + 2 * ATAN(1*180/PI)


Then it will work correctly.
We decided to release this workaround (instead of a patch) because very few customers (at this day, only 1) seem to be concerned by this issue.

Was this helpful?
What can we do to improve the information ?