Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Blog 

XorShift On Tcl

Language: Layout:
+ ] Show input
Absolute running time: 0.09 sec, cpu time: 0.04 sec, memory peak: 3 Mb, absolute service time: 0,11 sec 
edit mode |  history  | discussion
>> defaults
x 123456789 y 362436069 z 521288629 w 88675123
>> seeds in r
x 12462663186481152 y 797610446872569744 z 6231331616191951 w 1521321189756
>> rand 0 to UInt32Max
3701687786
458299110
2500872618
3633119408
516391518
>> randInt 0 to 100
68
3
88
94
81
>> randFloat 0 to 1
0.2827649347676814
0.21989776455329213
0.6865949492637522
0.9530174715800717
0.5078355077439536
>> shuffle list
5 18 19 10 8 13 14 7 12 2 11 17 9 6 4 15 16 1 3 0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
>> randCount in r
24

    
                
Advertise here.