-
- Downloads
extmod/modurandom: Add "urandom" module.
Seedable and reproducible pseudo-random number generator. Implemented functions are getrandbits(n) (n <= 32) and seed(). The algorithm used is Yasmarang by Ilya Levin: http://www.literatecode.com/yasmarang
Showing
- extmod/modurandom.c 92 additions, 0 deletionsextmod/modurandom.c
- py/builtin.h 1 addition, 0 deletionspy/builtin.h
- py/mpconfig.h 4 additions, 0 deletionspy/mpconfig.h
- py/objmodule.c 3 additions, 0 deletionspy/objmodule.c
- py/py.mk 1 addition, 0 deletionspy/py.mk
- py/qstrdefs.h 6 additions, 0 deletionspy/qstrdefs.h
- stmhal/mpconfigport.h 1 addition, 0 deletionsstmhal/mpconfigport.h
- unix/mpconfigport.h 1 addition, 0 deletionsunix/mpconfigport.h
extmod/modurandom.c
0 → 100644
Please register or sign in to comment