by Ricardo “Rudxain” Fernández Serrata
Version 1 (April 27, 2024)
Download (50 downloads)
Seedable random number generator. "xoshiro128**" ported to AM. Source, documentation, and license: https://prng.di.unimi.it/xoshiro128starstar.c
The fact that this algorithm is highly parallelizable, made it SO EASY to reduce blocks, by using a hack similar to "destructuring assignment" in JavaScript. In native machine code, a CPU could exploit OOOE https://en.wikipedia.org/wiki/Out-of-order_execution
Please report any bugs. I tested this thoroughly, and ensured it works exactly like the standard C implementation (except the seed-to-state conversion).
Rudxain profile: llamalab.com/automate/community/flows/42921
5 stars | 1 | |
4 stars | 2 | |
3 stars | 1 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.