bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: big number printout


From: Marijn Schouten (hkBst)
Subject: Re: big number printout
Date: Fri, 04 Jul 2008 11:18:32 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080620)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Jerram wrote:
> 2008/7/4 Bill Schottstaedt <address@hidden>:
>>> Is this an important problem for you in practice?  What's the impact?
>>> (Asking for prioritization purposes...)
>> What?  Is this something new that Guile prioritizes bug reports?
>
> Not "Guile", me.  As one of Guile's maintainers, my desire - and to
> some extent duty - is to work on fixing/improving the things that
> matter most to Guile's users.  I have more things to work on than I
> have immediate time for, so surely it makes sense to try to
> prioritize; doesn't it?
>
>> Decide for yourself.
>
> If the problem is not serious for you, I personally won't get to it
> very soon.  Of course, it is still fine for anyone else to investigate
> this problem too!
>
>        Neil

For fun and some more data points:

$ ./invoke.scm -e "(+ 40816513889983671.0 3.0) (= (+ 40816513889983671.0 3.0)
40816513889983674.0)"
Bigloo (3.1a)
40816513889984000.0#t
CHICKEN 3.2.0
4.08165138899837e+16#t
Elk 3.99.7
40816513889983672.0#t
Gambit v4.1.0
4.081651388998367e16#t
Gauche scheme interpreter, version 0.8.13 [utf-8,pthreads]
4.081651388998367e16#t
Guile 1.8.5
40816513889983700.0#t
ikarus is unavailable
kawa is unavailable
larceny is unavailable
MIT/GNU Scheme 7.7.90.+
40816513889983670.#t
Welcome to MzScheme v4.0.1 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
4.081651388998367e+16#t
RScheme 0.7.3.4-b7u
value := 0.
value := #t

scheme48 1.8
40816513889983670.0
#t

Schoca Shell (Version 0.3.0-cvs) by Christoph Bauer

schoca> ==> #i40816513889983674
==> #t
schoca>
scm 5e4
Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
SCM may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well. For details, see the file `COPYING',
which is included in the SCM distribution.
There is no warranty, to the extent permitted by law.
 This executable was loaded from "/usr/bin/scm"
40816513889983670.0#f
sigscheme 0.8.3
Error: in read: ill-formatted number: #d40816513889983671.0
Error: known bug: ready? operation is not supported on this port
sscm>
sisc is unavailable
stklos (version 0.98)
4.08165138899837e+16#t
TinyScheme 1.39
> 4.081651389e+16
> #t
>

Things to notice:
*Schoca is the only one to print out the correct integer sum.
*scm is the only one to get the comparison be #f

Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkht6ugACgkQp/VmCx0OL2wytACgrWdd5BOyoxjTaFdZXGyFJQTr
ThsAnj/eC6aFgUQhsG2egJtAsQy6aOUF
=w260
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]