|
| From: | Kon Lovett |
| Subject: | [Chicken-users] Chicken SRFI 19 impl clips trailing ".0" when printing |
| Date: | Wed, 3 Sep 2008 10:33:09 -0700 |
Hello Jörg,The current release of the srfi-19 egg fixes the large integer display issue. (Note that the Chicken impl is not strictly the reference impl. Beyond extra functionality the internal arithmetic is hand-optimized; expression w/ a restricted range use domain specific operations.)
After some thought I see the problem w/ changing the 'number->string' proc to clip a trailing ".0" for flonums is a bad idea. Chicken has no way of knowing that a fixnum -> flonum conversion has occurred; there is no way to distinguish a flonum used as an exact & a flonum used as an inexact.
Best Wishes, Kon
| [Prev in Thread] | Current Thread | [Next in Thread] |