bug-coreutils
[Top][All Lists]
Advanced

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

bug#66256: sorting NAN values with "general-numeric’


From: Paul Eggert
Subject: bug#66256: sorting NAN values with "general-numeric’
Date: Thu, 28 Sep 2023 13:44:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On my long list of things to do is to have sort -g sort more deterministically with NaNs. This could be done with the new totalorder and totalorderl functions in C23 Annex F.10.12.1, if available. The fix would not be portable (a these functions are newly sort-of-standardized and are often not available) but it should be better than nothing.

Of course the other problem is that there's no standard textual representation of NaN payloads (i.e., their fractions).





reply via email to

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