File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
src/main/java/de/tilman_neumann/jml/random Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1818/**
1919 * Lehmer's random number generator for 64 bit numbers; requires 128 bit multiplication internally.
2020 *
21- * It seems to work but not much faster than Random yet.
22- *
2321 * @see https://en.wikipedia.org/wiki/Lehmer_random_number_generator
2422 */
2523public class LehmerRng64 {
Original file line number Diff line number Diff line change 1818/**
1919 * Lehmer's random number generator for 64 bit numbers; requires 128 bit multiplication internally.
2020 *
21- * This variant uses using Math.multiplyHigh().
21+ * This variant is using Math.multiplyHigh().
2222 *
2323 * @see https://en.wikipedia.org/wiki/Lehmer_random_number_generator
2424 */
Original file line number Diff line number Diff line change 1717import org .apache .logging .log4j .Logger ;
1818
1919/**
20- * My Java port of the 32-bit pseudo-random number generator from tinyEcm.c by Ben Buhrow.
20+ * Java port of the 32-bit pseudo-random number generator from tinyEcm.c by Ben Buhrow.
2121 *
2222 * This generator is special in that nextInt() creates strictly non-negative random numbers.
2323 *
You can’t perform that action at this time.
0 commit comments