[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Bug in numbers egg version of expt
From: |
John Cowan |
Subject: |
[Chicken-users] Bug in numbers egg version of expt |
Date: |
Wed, 23 Sep 2009 11:34:00 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
When the numbers egg is loaded, the expressions (expt 27 1/3) and (expt
4/3 1/3), rather than returning inexact results 3.0 and 1.25992104989487
respectively, signal an error "Error: (even?) bad argument type -
not an integer - 1/3". They are evidently dispatching to the exact
algorithm even though they should not: these cases should invoke the
flonum algorithm.
--
On the Semantic Web, it's too hard to prove John Cowan address@hidden
you're not a dog. --Bill de hOra http://www.ccil.org/~cowan
- [Chicken-users] Bug in numbers egg version of expt,
John Cowan <=