Re: (log #c(0 1) #c(0 -1)) errors

Raymond Toy <[email protected]> Tue, 21 Mar 2023 17:16:47 -0700
Newsgroups gmane.lisp.ecl.general
Message-ID <[email protected]>
On 3/21/23 07:20, James Cloos wrote:
> With 21.2.1 I get:
>
>>> (log #c(0 1) #c(0 -1))
> Debugger received error of type: DIVISION-BY-ZERO
> #<a DIVISION-BY-ZERO 0x7f8925037640>
> Error flushed.
>
> gcl, sbcl and ccl all return #C(-1.0 0.0).

Probably related. (log #c(0 1)) and (log #c(0 -1)) both signal a 
division by zero.  The answer should be #c(0 1.5707964) and #c(0 
-1.5707964), respectively.