view interps/linguine/rng.lng @ 12280:1c5330229fcf draft

<oerjan> learn The password of the month is only if lambda is a macro
author HackEso <hackeso@esolangs.org>
date Wed, 01 Jan 2020 02:18:55 +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