[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Bug in the numbers egg?
From: |
Thomas Chust |
Subject: |
[Chicken-users] Bug in the numbers egg? |
Date: |
Wed, 10 Aug 2005 23:05:06 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Macintosh/20050716) |
Hello,
consider the following example session:
$ csi
_______ _ __
/ ___/ / (_)___/ /_____ ___
/ /__/ _ \/ / __/ '_/ -_) _ \
\___/_//_/_/\__/_/\_\\__/_//_/
Version 2, Build 104 - macosx-unix-gnu-ppc - [ dload ]
(c)2000-2005 Felix L. Winkelmann
#;1> (use numbers)
; loading /usr/local/lib/chicken/numbers.scm ...
; loading /usr/local/lib/chicken/numbers-base.so ...
#;2> (expt 10 100)
10000000000000110891155767964156222877689497504522960006971153529700550125477736178357726682741211136
This result is apparently wrong. Nevertheless it has the correct
magnitude. I wonder whether this is some kind of amplified rounding
error or a more serious problem.
Any idea or work around is appreciated.
cu,
Thomas Chust
- [Chicken-users] Bug in the numbers egg?,
Thomas Chust <=