Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build failure (alpha-current): floating point exception 8
On Mar 3, 6:37pm, david%l8s.co.uk@localhost (David Laight) wrote:
-- Subject: Re: build failure (alpha-current): floating point exception 8
| On Tue, Mar 03, 2009 at 07:25:06PM +0100, Martin Husemann wrote:
| > On Tue, Mar 03, 2009 at 05:45:34PM +0000, Christos Zoulas wrote:
| > > - if (ep == s || r == HUGE_VAL || errno == ERANGE)
| > > + if (ep == s || memcmp(&r, &hv, sizeof(hv)) == 0 || errno == ERANGE)
| >
| > Uhm, aren't there "don't care" bits in infinity, so we can't rely on memcmp
| > here?
|
| I can't remember either, bit infinity has a sign bit and either
| infinity or NaN has a lot of spare bits.
I don't think we can assume IEEE754 here. Actually the problem is on the
non IEEE hosts.
christos
Home |
Main Index |
Thread Index |
Old Index