view interps/linguine/rng.lng @ 12296:042127c1c142 draft

<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 13:28:36 +0000
parents 859f9b4339e6
children
line wrap: on
line source

'Random number generator with period 2^64
'Programmed by Jannis Harder (jix), 2005
1[0^]2
2[1=*0,0>1,1|1,1|*1,1<1:3,1#]2
3[3=9223372036854781733,2=*3,2|*0,0|*2,2|*3,0|*2,1#]2