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

Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]



On Mon, Aug 21, 2006 at 06:51:24PM +0200, Lionel Elie Mamane wrote:
> On Fri, Aug 11, 2006 at 10:42:53AM +1000, Matthew Palmer wrote:
> > I'd imagine you'd be hard pressed to find a mathematician who knows
> > what to do with a number that reads 0.0.9, either.
> 
> Well, I have found one. Myself. You just have to interpret the part
> after the second point as the integer part of an infinitesimal:
> 
>  Let ε be an infinitesimal, that is a strictly positive number
>  (that is ε > 0) smaller than any strictly positive real number
>  (that is ∀ n ∈ ℕ, n>0 implies ε < 1/n ).
> 
> 
> Then the version number x.y.z is interpreted as:
> 
>  x.y + z * ε
> 
> (And a.b.c.d is interpreted as a.b + c.d * ε)
[...]

It would appear you've forgotten to change the To: line to something
more appropriate, though. Done with this message ;-)

-- 
<Lo-lan-do> Home is where you have to was the dishes.
  -- #debian-devel, Freenode, 2004-09-22



Reply to: