|
From: | Paul Eggert |
Subject: | bug#21000: coreutils 8.24 sort -h gets ordering wrong |
Date: | Wed, 15 Jul 2015 11:30:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Linda Walsh wrote:
I didn't understand the code snippet you sent, but it appears to have rounding errors. 'sort' doesn't have rounding errors when doing the comparison in question. Let's not introduce them now.--- It has to. It's rounding to 2-3 digits.
Sorry, I don't understand that comment. 'sort -h' does not round. It doesn't have to. Your code *does* round, and I suppose in some sense it "has to", but that's a bug compared to what 'sort' does now.
[Prev in Thread] | Current Thread | [Next in Thread] |