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.



Reply via email to