|
From: | felix winkelmann |
Subject: | Re: [Chicken-hackers] Single-precision doubles |
Date: | Mon, 9 Oct 2006 11:22:40 +0200 |
On 10/8/06, Zbigniew <address@hidden> wrote:
It's amazing, but it's true--on some embedded systems, doubles and floats are both 32 bits. In this case, the flonum size and tag constants don't agree with the actual constructed flonum, because the constants aren't based on sizeof(double). The first patch (runtime-basic-flonum.diff) fixes the issue and is probably safe to apply, though not useful to a general audience. Sorry it's not a unified diff; it modifies C_flonum and C_number in runtime.c.
Thanks for the patches, Zbigniew. I'll postpone them until 2.5 is released, but will incorporate them once that has been done. cheers, felix -- http://galinha.ucpel.tche.br:8081/blog/blog.ssp
[Prev in Thread] | Current Thread | [Next in Thread] |