[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 0.01-6 > 0.1-3 ?????



On Mon, Apr 22, 2002 at 09:58:21AM -0400, Alan Shutko wrote:
> Agustin Martin Domingo <agmartin@aq.upm.es> writes:
> 
> > point in versions is not decimal separator, but major or minor version
> > separator. So
> >
> > 0.00001 == 0.01 == 0.1
> >
> > all means 
> >
> > major version=0
> > first minor version=1
> 
> Many developers don't consider those identical, though.  I wonder if
> fields should be zero-padded to equal width before comparison?  So
> comparing 0.01 and 0.1, you'd zero-pad 0.1 -> 0.10, and get the right
> comparison.

0.9 compared to 0.89 would then be the same as 0.90 compared to 0.89?
Not good.

-- 
Rune B. Broberg


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: