[pypy-issue] [issue1381] random() generator returning result outside the 0.0 .. 1.0 domain.
Amaury Forgeot d Arc
tracker at bugs.pypy.org
Fri Jan 25 00:01:22 CET 2013
Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
CPython uses huge numbers (150 digits) in jumpahead, when Pypy implements it (in
rpython/rlib/) with C longs only.
I guess we could use bigint instead... But I'm not sure it's worth the trouble.
The function has even been removed in py3k.
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue