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 Tue, 3 Mar 2009, Michael L. Hitch wrote:

> On Tue, 3 Mar 2009, David Laight wrote:
>
> > 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)

surely that was wrong in the first place anyway?  HUGE_VAL is a valid
number and the invalid input is signalled when

    (errno == ERANGE && (r == HUGE_VAL || r == -HUGE_VAL || r == 0))

but you could just test for ERANGE, after all thats what the function was
doing in the first place..?

iain


Home | Main Index | Thread Index | Old Index