Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

XorShift On CommonLisp

Language: Layout:
+ ] Show input
Absolute running time: 0.14 sec, cpu time: 0.02 sec, memory peak: 6 Mb, absolute service time: 0,14 sec 
edit mode |  history
>> defaults
((X . 123456789) (Y . 362436069) (Z . 521288629) (W . 88675123))
>> seeds in r
((X . 30256011722752) (Y . 1936384753275419) (Z . 15128005884964)
 (W . 3693360806))
>> rand 0 to UInt32Max
3701687786
458299110
2500872618
3633119408
516391518
>> randInt 0 to 100
68
3
88
94
81
>> randFloat 0 to 1
0.80593574
0.9285878
0.17299153
0.86051726
0.98931867
>> shuffle list
(13 17 10 7 0 5 11 4 2 9 19 3 1 15 12 14 6 18 16 8)
(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19)
>> randCount in r
24

    
                
λ
.NET NoSQL database for rapid development