[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] arithmetic-shift bug
From: |
Alex Shinn |
Subject: |
[Chicken-users] arithmetic-shift bug |
Date: |
Thu, 27 Mar 2008 16:01:27 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) |
I believe this is from a relatively recent change, since
it's the cause of an error in the fmt egg which previously
passed.
$ rlwrap csi
CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.0.10 - macosx-unix-gnu-x86 [ manyargs dload ptables applyhook ]
SVN rev. 9891 compiled 2008-03-19 on chernushka.local (Darwin)
#;1> (arithmetic-shift 1 31)
2147483648.0
#;2> (arithmetic-shift 1 32)
1
#;3> (* 2 (arithmetic-shift 1 31))
4294967296.0
--
Alex
- [Chicken-users] arithmetic-shift bug,
Alex Shinn <=