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


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Collin Funk <collin.funk1 <at> gmail.com>
Cc: 78985 <at> debbugs.gnu.org, "C. Neidahl" <opna2608 <at> protonmail.com>
Subject: bug#78985: sort-float failure on ppc64, LDBL_MIN fraction part too long for test command to parse
Date: Fri, 11 Jul 2025 21:10:30 -0700
On 2025-07-11 20:59, Collin Funk wrote:
> Maybe a solution would be to compare the strings instead of calling
> strold?

Yes, that's been on the 'sort' TODO list for like, forever. It'd also be 
faster than what's in there now. A bit tricky, though, given the 
vagaries of textual floating point formats in different locales.




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.