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, 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?

Martin


Home | Main Index | Thread Index | Old Index