[Chicken-hackers] [PATCH] Prevent Chicken from truncating large flonums when compiling

2011-09-17 Thread Peter Bex
Hi all, This is a patch and bugreport rolled into one ;) While testing the numbers egg I found out that programs containing flonum literals can behave differently when compiled or interpreted. This turns out to be caused by the fact that Chicken just uses [sf]printf or gcvt to print flonums

Re: [Chicken-hackers] [PATCH] Prevent Chicken from truncating large flonums when compiling

2011-09-17 Thread Peter Bex
On Sat, Sep 17, 2011 at 05:56:52PM +0200, Peter Bex wrote: Hi all, This is a patch and bugreport rolled into one ;) While testing the numbers egg I found out that programs containing flonum literals can behave differently when compiled or interpreted. I forgot, but here's a simple test

Re: [Chicken-hackers] [PATCH] Prevent Chicken from truncating large flonums when compiling

2011-09-17 Thread Christian Kellermann
* Peter Bex peter@xs4all.nl [110917 18:15]: On Sat, Sep 17, 2011 at 05:56:52PM +0200, Peter Bex wrote: Hi all, This is a patch and bugreport rolled into one ;) I've tested the patch and it works for me (TM), hence OK. -- Who can (make) the muddy water (clear)? Let it be still, and