[pypy-issue] [issue1381] random() generator returning result outside the 0.0 .. 1.0 domain.

klankschap tracker at bugs.pypy.org
Fri Feb 1 01:15:34 CET 2013


klankschap <vm at klankschap.nl> added the comment:

On 31 Jan 2013, at 22:11, Amaury Forgeot d Arc wrote:

> 
> Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
> 
> Fixed with 0ec3d77645a2: jumpahead() won't generate numbers above 1.0.
> 
> Precise numbers will differ from CPython though.

It seems to work correctly now indeed.
(thanks!)

.F

----------
status: resolved -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1381>
________________________________________


More information about the pypy-issue mailing list