Wykres commitów

4 Commity (72a90a0c932f9453f9ba1a37bc7e2d036b0dc3ff)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 6568c0380e random: Add shuffle(). 2017-11-26 00:03:16 +02:00
Paul Sokolovsky 9edb4ec580 random: Add randint(). 2017-11-25 18:59:52 +02:00
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
Paul Sokolovsky c0ab28571b random: Add module placeholder. 2014-05-01 02:42:43 +03:00