micropython-lib/random
Paul Sokolovsky ac6fcb4729 random: Add randrange() implementation.
The idea behind this implementation is that getrandbits() is guaranteed
(required) to be equally distributed. Thus, we can just repeatedly
sample it until get a suitable value, there's no bias accumulated and
the process should be finite (and on average take few iterations).
2017-11-25 12:30:42 +02:00
..
metadata.txt
random.py random: Add randrange() implementation. 2017-11-25 12:30:42 +02:00
setup.py