Modify ↓
Opened 14 years ago
Closed 14 years ago
#2068 closed Bug (Fixed)
ACos() bug
| Reported by: | Spiff59 | Owned by: | Valik |
|---|---|---|---|
| Milestone: | 3.3.9.0 | Component: | AutoIt |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | Cc: |
Description
The x86 version of the ACos() function seems to go south after six calls. The example below returns the value of pi for six calls, and then returns the string "-1.#IND" on all subsequent calls. The bug exhibits itself both within SciTE and in "compiled" executables. Beta 3.3.7.23 behaves identically.
#include <Array.au3> Global $result[11] For $x = 1 to 10 $result[$x] = ACos(-1) Next _ArrayDisplay($result)
Attachments (0)
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Milestone: | → 3.3.9.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [6733] in version: 3.3.9.0
Note:
See TracTickets
for help on using tickets.

This happens ONLY with ACos(-1). I also tested 0, 0.1 and 1 without this problem.
If you call ACos() with another value than -1 after the error occurs, it works again for one call.