[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9612: sort: avoid a NaN-induced infloop
From: |
Andreas Schwab |
Subject: |
bug#9612: sort: avoid a NaN-induced infloop |
Date: |
Tue, 27 Sep 2011 23:41:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> On 09/27/11 13:07, Andreas Schwab wrote:
>> Padding bits can change any time.
>
> Is there any way to compare the non-padding parts of long doubles?
By ignoring the padding.
> There ought to be *some* way to get the fractional part of a NaN, no?
You need to inspect the bytes of the representation yourself.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."