At:
https://common-lisp.net/project/ecl/static/manual/Characters.html#Characters
it looks like the tabe has the 'With Unicode' and 'Without Unicode'
entries backwards.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
it looks like that bug only harms ratio. bignum integer seems to be ok.
so aworkarount is, in the caseof a ratio, to take the difference of the
logs of the numerator and the denominator.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
this works:
#!/usr/bin/env -S ecl --norc --shell
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
com/linas/anant might work.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
tion and everything
else using write.)
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
if there were single-character options for --norc and
--shell, so they could be combined into one -option.
or, alternatively, --shell might imply --norc and there could be a
function in ext: which runs the rc file(s) for those times (if any)
when --rc --shell would be preferred.
-JimC
--
James
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
t gets the correct results:
===
> (log #c(0.0 1.0) #c(0.0 -1.0))
#C(-1.0 0.0)
> (log #c(0l0 1l0) #c(0l0 -1l0))
#C(-1.0l0 0.0l0)
===
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
origin/develop as of commit 858687605134788f52b904fc2bc365462e2d6ac9
fails with the same error.
-JimC
--
James Cloos OpenPGP: 0x997A9F17ED7DAEA6
>>>>> "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
10 matches
Mail list logo