Mark Dickinson dicki...@gmail.com added the comment:
The distinction between and = is fairly meaningless when applied to a
computed floating-point result. I think the docs should be fixed to
replace the with =. In any case, the b = N a bit has the
inequalities the wrong way around:
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Doc update
--
keywords: +patch
nosy: +gagenellina
Added file: http://bugs.python.org/file12784/random.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4979
Georg Brandl ge...@python.org added the comment:
Thanks, applied in r68724.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4979
New submission from Max Hailperin m...@gustavus.edu:
The documentation for random.uniform says that random.uniform(a,b)
should return a number strictly less than b, assuming ab. (The result
should be strictly less than a if ab.) Thus both of the following
expressions should always evaluate