*To*: Florian Weimer <fw@deneb.enyo.de>*Cc*: debian-devel@lists.debian.org, "Roberto C. Sanchez" <roberto@familiasanchez.net>*Subject*: Re: dpkg doing wrong math (0.09 = 0.9) ?-*From*: Lionel Elie Mamane <lionel@mamane.lu>*Date*: Tue, 22 Aug 2006 14:08:37 +0200*Message-id*: <[🔎] 20060822120837.GA16222@capsaicin.mamane.lu>*Mail-followup-to*: Florian Weimer <fw@deneb.enyo.de>, debian-devel@lists.debian.org, "Roberto C. Sanchez" <roberto@familiasanchez.net>*In-reply-to*: <[🔎] 87zmdym02h.fsf@mid.deneb.enyo.de>*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> <[🔎] 87zmdym02h.fsf@mid.deneb.enyo.de>

On Mon, Aug 21, 2006 at 08:10:46PM +0200, Florian Weimer wrote: > * Lionel Elie Mamane: >> 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 ). > Such a number does not exist because every set of reals which has a > lower bound has a real number as its infimum. I didn't say it is a real number, and indeed no such real number exists. You need a richer notion of number than real numbers. > (Of course, such arithmetic structures can be defined, but it's a > lot more involved than that.) Precisely. One such structure is John Conway's surreal numbers. (As I already said in my previous email.) >> 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 * ε) > In this context, it does not make much sense to allow only > non-negative integers for z, You can accept any real for z, yes. I was working the other way round: give a meaning to x.y.z, where x, y and z are non-negative integers. The non-negative integers restriction comes from the problem statement, not from the solution :) > so your interpretation is anything but natural As the battles between formalists, intuitionists, platonists, constructivists, fictionalists, etc show, what is "natural" is highly subjective. However, if the goal of the game is to construct an extension to x.y.z of the interpretation of x.y as the decimal rational number usually written that way, I find my interpretation quite "natural". If you disagree, good for you. No amount of discussion is going to make us agree on what is "natural" anyway, as it is not a well-defined concept. > and as good as any other total odering. I'd certainly be less happy with an ordering that gives: 1.2.3 < 1.2.2 < 1.2.5 Best Regards, -- Lionel

**References**:**Re: dak now supports ~ in version numbers***From:*Florian Weimer <fw@deneb.enyo.de>

**dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Michael Biebl <biebl@teco.edu>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Adeodato Simó <dato@net.com.org.es>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*"Roberto C. Sanchez" <roberto@familiasanchez.net>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Matthew Palmer <mpalmer@debian.org>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Lionel Elie Mamane <lionel@mamane.lu>

**Re: dpkg doing wrong math (0.09 = 0.9) ?-***From:*Florian Weimer <fw@deneb.enyo.de>

- Prev by Date:
**Re: Re: glibc and UNACCEPTs** - Next by Date:
**Incorrect version of xserver-xorg in unstable** - Previous by thread:
**Re: dpkg doing wrong math (0.09 = 0.9) ?-** - Next by thread:
**Re: dpkg doing wrong math (0.09 = 0.9) ?-** - Index(es):