Random: add yasmarang and cheap_rand generators.

main
Peter Hinch 2020-11-05 09:29:04 +00:00
rodzic ee0d56bd7e
commit 96360ba5a7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
# pseudorandom numbers for MicroPython. ISR friendly version.
# Probably poor quality numbers but useful in test scripts
# Based on xorshift32 here https://en.wikipedia.org/wiki/Xorshift
# Author: Peter Hinch
# Copyright Peter Hinch 2020 Released under the MIT license