bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9612: sort: avoid a NaN-induced infloop


From: John Reiser
Subject: bug#9612: sort: avoid a NaN-induced infloop
Date: Tue, 27 Sep 2011 13:54:38 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14

> Is there any way to compare the non-padding parts of long doubles?
> There ought to be *some* way to get the fractional part of a NaN, no?

frexp() [man 3 frexp] would be the right idea,
except that it fails explicitly for NaN.

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]