[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support bytesize comparison in sort
From: |
Mart Somermaa |
Subject: |
Re: Support bytesize comparison in sort |
Date: |
Fri, 02 Jun 2006 19:59:53 +0300 |
User-agent: |
Thunderbird 1.5.0.2 (X11/20060522) |
Paul Eggert wrote:
> Also, I'm still leery of assuming properly scaled input.
> Is it that much harder to implement it correctly without that assumption?
>
Sorry, missed that bit in my previous mail... yes, as without that
assumption we have to use multiplication for normalization -- but then
we face the usual problems of value overflow and imprecise
floating-point comparison. That may lead to straightforward incorrect
behaviour.
But I really don't see what's wrong with that assumption. It holds for
other coreutils and that's what matters most. A clearly documented
limitation is not a bug, but a feature :) .
- Re: Support bytesize comparison in sort, Mart Somermaa, 2006/06/02
- Re: Support bytesize comparison in sort,
Mart Somermaa <=
- Re: Support bytesize comparison in sort, Paul Eggert, 2006/06/02
- Re: Support bytesize comparison in sort, Mart Somermaa, 2006/06/07
- Re: Support bytesize comparison in sort, Paul Eggert, 2006/06/07
- Re: Support bytesize comparison in sort, Mart Somermaa, 2006/06/13
- Re: Support bytesize comparison in sort, Paul Eggert, 2006/06/13
- Re: Support bytesize comparison in sort, Mart Somermaa, 2006/06/14