On 2008-01-13, at 19:51, Robert Rothenberg wrote:
On 14/01/08 01:17 Peter da Silva wrote:
If "1.23" is treated differently from "1.23.0" that's just stupid.
Oh, and hateful.
Is "1.23.0" equivalent to "1.23" or "1.023" (since the middle part
might be three digits)?
I'm sorry, I can't parse that question. The middle part (minor
version) is an integer. 1.23 is an abbreviation for the n-tuple
{1,23,0*}.
I think the problem cited by the original post is that 1.95.1 is
treated as something like 1.095001 instead of 1.9501, so it looks
smaller than 1.80.
Oh.
I am not properly able to comprehend the confusion in the mind that
would lead to anyone, for one instant, attempting to map n-tuples
onto floating point numbers as part of the process of comparing
version numbers.
That's beyond hateful.