Random number generator (included): Difference between revisions
Content added Content deleted
(add Standard ML) |
Drkameleon (talk | contribs) (Added Arturo implementation) |
||
Line 53: | Line 53: | ||
INT long last random := # some initial random number #; |
INT long last random := # some initial random number #; |
||
PROC long random = LONG REAL: long next random(long last random);</lang> |
PROC long random = LONG REAL: long next random(long last random);</lang> |
||
=={{header|Arturo}}== |
|||
The built-in [https://arturo-lang.io/documentation/library/numbers/random/ random] random number generator is based on xoroshiro128+ (xor/rotate/shift/rotate), see [http://xoroshiro.di.unimi.it/ here]. |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |