Sujet : KISS 64-bit pseudo-random number generator
De : krishna.myneni (at) *nospam* ccreweb.org (Krishna Myneni)
Groupes : comp.lang.forthDate : 09. Sep 2024, 04:09:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vblosf$292ru$1@dont-email.me>
User-Agent : Mozilla Thunderbird
This has probably been posted in c.l.f. before (by MHX or others) but you can find my Forth implementation of G. Marsaglia's KISS 64-bit PRNG at the link below. The file contains both 32-bit and 64-bit PRNGs -- the appropriate one will be loaded for the Forth system (e.g. kForth-64/kForth-32/kForth-Win32). Marsaglia gave a test for the 64-bit KISS in his original announcement and this test may be run with the word
KISS64-TEST
e.g.
kiss64-test
Testing 64-bit RAN-KISS ... PASSED.
ok
-- Krishna Mynenihttps://github.com/mynenik/kForth-64/blob/master/forth-src/kiss.4th