Skip to content

Commit 09ae81c

Browse files
committed
javadoc
1 parent 654fa37 commit 09ae81c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/de/tilman_neumann/jml/random/Xorshf32.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
package de.tilman_neumann.jml.random;
1515

1616
/**
17-
* Java port of Marsaglia's xorshf generator.
18-
* @see https://stackoverflow.com/questions/1640258/need-a-fast-random-generator-for-c<br/><br/>
17+
* Java port of Marsaglia's xorshf 32 bit random number generator, adapted from https://stackoverflow.com/questions/1640258/need-a-fast-random-generator-for-c.
1918
*
20-
* This generator is special in that nextInt() creates strictly non-negative random numbers.
19+
* This version seems out-dated, the variant described in https://en.wikipedia.org/wiki/Xorshift uses other shifts...
2120
*
2221
* @author Tilman Neumann
2322
*/

0 commit comments

Comments
 (0)