equal
deleted
inserted
replaced
59 * (but {@link L64X1024Random} does not use a mixing function). |
59 * (but {@link L64X1024Random} does not use a mixing function). |
60 * <p> |
60 * <p> |
61 * The LCG subgenerator for {@link L64X1024Random} has an update step of the |
61 * The LCG subgenerator for {@link L64X1024Random} has an update step of the |
62 * form {@code s = m * s + a}, where {@code s}, {@code m}, and {@code a} are all |
62 * form {@code s = m * s + a}, where {@code s}, {@code m}, and {@code a} are all |
63 * of type {@code long}; {@code s} is the mutable state, the multiplier {@code m} |
63 * of type {@code long}; {@code s} is the mutable state, the multiplier {@code m} |
64 * is fixed (the same for all instances of {@link L64X1024Random}}) and the addend |
64 * is fixed (the same for all instances of {@link L64X1024Random}) and the addend |
65 * {@code a} is a parameter (a final field of the instance). The parameter |
65 * {@code a} is a parameter (a final field of the instance). The parameter |
66 * {@code a} is required to be odd (this allows the LCG to have the maximal |
66 * {@code a} is required to be odd (this allows the LCG to have the maximal |
67 * period, namely 2<sup>64</sup>); therefore there are 2<sup>63</sup> distinct choices |
67 * period, namely 2<sup>64</sup>); therefore there are 2<sup>63</sup> distinct choices |
68 * of parameter. |
68 * of parameter. |
69 * <p> |
69 * <p> |