(log #c(0 1) #c(0 -1)) errors
Raymond Toy
toy.raymond at gmail.com
Wed Mar 22 00:16:47 UTC 2023
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.
More information about the ecl-devel
mailing list