[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix #1051 by removing dead code
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix #1051 by removing dead code |
Date: |
Sun, 22 Sep 2013 22:52:13 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Sun, Sep 22, 2013 at 04:46:14PM -0400, John Cowan wrote:
> 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.
Care to provide a patch for that?
Cheers,
Peter
--
http://www.more-magic.net