PDA

View Full Version : acos() bug


GregMalick
01-31-2005, 02:45 PM
I'm not sure if this is new to 8.2 BUT:

In an uncompiled LScript - acos() returns proper values from 1 to -1 (as it should).
In a compiled LScript - acos() returns garbage for values 1 and -1

My workaround is to code your own aCos() UDF that traps the 1 and -1 conditions and returns the proper values.