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

From: John Reiser <[email-masked]>
Date: Tue, 27 Sep 2011 13:54:38 -0700

> 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.

--