[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix #1051 by removing dead code
From: |
John Cowan |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix #1051 by removing dead code |
Date: |
Sun, 22 Sep 2013 16:46:14 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Peter Bex scripsit:
> The part which isn't reached is supposed enlarge extremely small
> "denormalised" floating-point numbers so that they will fall within
> the representable range again (are normalised).
I don't understand this. The numerator and denominator of a denormalized
number should be (and according to the numbers egg, is) 1.0 (appropriately
signed) and +inf.0 respectively. The current code just barfs when it
gets a denormalized number, so an explicit test for them and returning
the above canned values is the Right Thing.
--
One Word to write them all, John Cowan <address@hidden>
One Access to find them, http://www.ccil.org/~cowan
One Excel to count them all,
And thus to Windows bind them. --Mike Champion