Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]
- To: debian-curiosa@lists.debian.org, "Roberto C. Sanchez" <roberto@familiasanchez.net>, Lionel Elie Mamane <lionel@mamane.lu>
- Subject: Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]
- From: Wouter Verhelst <wouter@debian.org>
- Date: Tue, 22 Aug 2006 07:51:29 +0200
- Message-id: <[🔎] 20060822055129.GB4833@country.grep.be>
- In-reply-to: <20060821165124.GA9375@capsaicin.mamane.lu>
- References: <20060808235835.GA19278@lapse.madduck.net> <87mzae1a7d.fsf@mid.deneb.enyo.de> <44DBBD7B.8020909@teco.edu> <20060810232940.GA6592@chistera.yi.org> <20060810234736.GG17235@miami.connexer.com> <20060811004253.GD26527@hezmatt.org> <20060821165124.GA9375@capsaicin.mamane.lu>
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: