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
#
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 shou
> "P" == PR writes:
P> I also noticed that setting:
P> (si::trap-fpe t nil)
P> changes the result to:
P> (log #c(0 1) #c(0 -1))
P> #C(# #)
ah. interesting. thanks.
i hadn't thought to test that.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
origin/develop as of commit 858687605134788f52b904fc2bc365462e2d6ac9
fails with the same error.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
> With 21.2.1 I get:
>
> > > (log #c(0 1) #c(0 -1))
>
>
> Debugger received error of type: DIVISION-BY-ZERO
> #
I also noticed that setting:
(si::trap-fpe t nil)
changes the result to:
(log #c(0 1) #c(0 -1))
#C(# #)
Paul
With 21.2.1 I get:
>> (log #c(0 1) #c(0 -1))
Debugger received error of type: DIVISION-BY-ZERO
#
Error flushed.
gcl, sbcl and ccl all return #C(-1.0 0.0).
other non-lisp software agrees.
i haven't yet tried master.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6