On Tue, 20 Jun 2006, John Cowan wrote:
Thomas Chust scripsit:
in my humble opinion it is a good idea to throw an exception by default
if a numerical operation does not make sense. This makes error detection
in algorithms much easier. If CHICKEN did not throw exceptions in cases
like division
felix winkelmann scripsit:
This works fine on my linux box (and mac). Hm... Can you try the very
latest darcs head? (available in a few minutes)
I get this:
$ darcs get http://galinha.ucpel.tche.br/chicken
plink: unknown option -O
Invalid repository: http://galinha.ucpel.tche.br/chicken
Mario Domenech Goulart scripsit:
Can you try
$ darcs get http://galinha.ucpel.tche.br:8081/chicken
to check out the repository?
That works; I did automake, then ./configure, then make
BOOTSTRAP_PATH=/usr/local/bin,
and crashed with:
make[1]: *** No rule to make target
felix winkelmann scripsit:
So you have 2.320 running ok, yes? Do you get this on installation or
build
time? If the former, touch *.scm and run make again (without
BOOTSTRAP_PATH).
Really weird, this. Or you can try the chicken.egg
(chicken-setup -f chicken and extract/install by hand).
On Tue, 20 Jun 2006, felix winkelmann wrote:
On 6/19/06, John Cowan [EMAIL PROTECTED] wrote:
[...]
2) Remove the divide-by-zero trap in inexact division, and allow the IEEE
results to appear openly. This will mean that (/ 1.0 0.0) will evaluate
to Infinity.0, (/ -1.0 0.0) to -Infinity.0,
On 6/20/06, Thomas Chust [EMAIL PROTECTED] wrote:
Maybe something like that could be included in the library for
completeness' sake. Or we should create an IEEE arithmetic egg (are there
more functions than / in CHICKEN that are not IEEE compliant?). But I
would really vote against modifying
felix winkelmann scripsit:
Chicken already supports +inf, -inf and +nan.
Not so much.
Version 2, Build 320 - windows-cygwin-x86 - [ dload ptables applyhook ]
(c)2000-2006 Felix L. Winkelmann
#;1 +inf
Error: unbound variable: +inf
#;1 +inf.0
Error: unbound variable: +inf.0
#;1 -inf
Error:
Thomas Chust scripsit:
in my humble opinion it is a good idea to throw an exception by default
if a numerical operation does not make sense. This makes error detection
in algorithms much easier. If CHICKEN did not throw exceptions in cases
like division by zero, I would find myself
For what it's worth, +inf, -inf and +nan do work on my box (2.315) as
well as an older copy (2.207).
Version 2, Build 315 - linux-unix-gnu-x86-64 - [ 64bit dload ptables applyhook ]
(c)2000-2006 Felix L. Winkelmann
#;1 +inf
+inf
#;2 -inf
-inf
#;3 +nan
+nan
On 6/20/06, John Cowan [EMAIL
Zbigniew scripsit:
For what it's worth, +inf, -inf and +nan do work on my box (2.315) as
well as an older copy (2.207).
Version 2, Build 315 - linux-unix-gnu-x86-64 - [ 64bit dload ptables
applyhook ]
(c)2000-2006 Felix L. Winkelmann
#;1 +inf
+inf
#;2 -inf
-inf
#;3 +nan
+nan
It
10 matches
Mail list logo