From 96360ba5a7032b7584e0c22ef5caa26e404cb593 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Thu, 5 Nov 2020 09:29:04 +0000 Subject: [PATCH] Random: add yasmarang and cheap_rand generators. --- random/cheap_rand.py | 1 + 1 file changed, 1 insertion(+) diff --git a/random/cheap_rand.py b/random/cheap_rand.py index ce8651f..947f8af 100644 --- a/random/cheap_rand.py +++ b/random/cheap_rand.py @@ -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