On Jun 10, 12:37 pm, Mark Dickinson <dicki...@gmail.com> wrote: > On Jun 10, 6:21 pm, Mensanator <mensana...@aol.com> wrote: > > > So, the 2.6.2 documentation is STILL wrong. Before it implied > > it was ALWAYS a semi-open interval, and now it says it's ALWAYS > > a closed interval. But neither is correct. > > Exactly which bit of the 2.6.2 documentation do you think is > incorrect? The documentation for random.uniform says: > > """Return a random floating point number N such that > a <= N <= b for a <= b and b <= N <= a for b < a.""" > > And that's precisely what it does.
I didn't say it didn't. > Nowhere does the documentation say that *every* Unless qualified otherwise, that statement implies "for all (a,b)". > floating-point number N in the interval [a, b] > can occur. > > Mark -- http://mail.python.org/mailman/listinfo/python-list