GNU bug report logs - #78985
sort-float failure on ppc64, LDBL_MIN fraction part too long for test command to parse

Previous Next

Package: coreutils;

Reported by: "C. Neidahl" <opna2608 <at> protonmail.com>

Date: Wed, 9 Jul 2025 21:57:03 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 78985 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Collin Funk <collin.funk1 <at> gmail.com>
Cc: 78985 <at> debbugs.gnu.org, "C. Neidahl" <opna2608 <at> protonmail.com>
Subject: Re: bug#78985: sort-float failure on ppc64, LDBL_MIN fraction part
 too long for test command to parse
Date: Sat, 12 Jul 2025 19:59:40 +0100
On 12/07/2025 16:53, Paul Eggert wrote:
> On 2025-07-12 04:45, Pádraig Brady wrote:
>> -          : a == b ? 0
>> +          : a == b ? numcompare (sa, sb)
> 
> That fails for string pairs like "10" and "1e1".

Hah I thought of that but missed this impacts the --unique case.
I added a test case to ensure equivalency is honored.

cheers,
Pádraig




This bug report was last modified 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.