Return to Snippet

Revision: 63282
at April 22, 2013 23:16 by fahrenx


Initial Code
static int xorShift(int y) { 
    y ^= (y << 6); 
    y ^= (y >>> 21); 
    y ^= (y << 7); 
    return y; 
}

Initial URL

                                

Initial Description
From Java Concurrency in practice

Initial Title
medium quality random number generator

Initial Tags
java

Initial Language
Java