Rounding a number to nearest even

Arnaud Delobelle arnodel at googlemail.com
Fri Apr 11 16:48:44 EDT 2008


On Apr 11, 8:27 pm, Mark Dickinson <dicki... at gmail.com> wrote:
> On Apr 11, 2:33 pm, Lie <Lie.1... at gmail.com> wrote:
[...]
> > Another mistake, in an unquantized value the probability of getting
> > exactly 0.5 (or any other number specified) is not 0 but an
> > infinitesimal (i.e. lim(x) where x -> 0 (BUT NOT ZERO))
>
> I'm not sure you'll get many takers for this point of view.  If X is
> a random variable uniformly distributed on the interval [0, 1) then
> the probability that X == 0.5 is indeed exactly 0, using conventional
> definitions.  (And if you're not using conventional definitions, you
> should say so....)

And I would like to know what unconventional - but mathematically
meaningful - definitions lead to

    lim x   != 0
    x -> 0

--
Arnaud



More information about the Python-list mailing list