1) The #i and #e syntaxes do not use the numeric egg's redefined versions of
exact->inexact and inexact->exact properly.  Thus #e5/2, #i5/2, and #e2.5
all produce errors instead of 5/2, 2.5, and 5/2 respectively.

2) I think that using inexact->exact for #e<decimal> is not the Right Thing.
With the previous point fixed, #e5.2 would return 
5854679515581645/1125899906842624
instead of 52/10 = 26/5.  I'd rather see the latter, thus allowing exact
rationals to be written as decimal numbers.

-- 
I marvel at the creature: so secret and         John Cowan
so sly as he is, to come sporting in the pool   [EMAIL PROTECTED]
before our very window.  Does he think that     http://www.reutershealth.com
Men sleep without watch all night?  --Faramir   http://www.ccil.org/~cowan


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to