Ticket #1040 (closed defect: fixed)
ACOS is doing the wrong thing with complex arguments
| Reported by: | svspire | Owned by: | svspire |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | ANSI CL Compliance | Version: | trunk |
| Keywords: | Cc: |
Description
(ACOS (complex -2.0d0 0.0d0)) gives Error: DIVISION-BY-ZERO detected
performing / on (1.7320508075688772D0 0.0D0)
While executing: CCL::/-2, in process listener(1). Type :POP to abort, :R for a list of available restarts. Type :? for other options.
Happens on LinuxX86, DarwinX86, and ARM (at least).
Should produce ? (ACOS (complex -2.0d0 0.0d0)) #C(3.141592653589793D0 -1.3169578969248166D0)
Note that ASIN has a related bug that can be triggered with the proper args, because it's also calling single-argument ATAN.
Change History
Note: See
TracTickets for help on using
tickets.
