equal
deleted
inserted
replaced
192 * The increment of seeder per new instance |
192 * The increment of seeder per new instance |
193 */ |
193 */ |
194 private static final long SEEDER_INCREMENT = 0xbb67ae8584caa73bL; |
194 private static final long SEEDER_INCREMENT = 0xbb67ae8584caa73bL; |
195 |
195 |
196 // Constants from SplittableRandom |
196 // Constants from SplittableRandom |
197 private static final double DOUBLE_UNIT = 1.0 / (1L << 53); |
197 private static final double DOUBLE_UNIT = 0x1.0p-53; // 1.0 / (1L << 53) |
198 private static final float FLOAT_UNIT = 1.0f / (1 << 24); |
198 private static final float FLOAT_UNIT = 0x1.0p-24f; // 1.0f / (1 << 24) |
199 |
199 |
200 /** Rarely-used holder for the second of a pair of Gaussians */ |
200 /** Rarely-used holder for the second of a pair of Gaussians */ |
201 private static final ThreadLocal<Double> nextLocalGaussian = |
201 private static final ThreadLocal<Double> nextLocalGaussian = |
202 new ThreadLocal<Double>(); |
202 new ThreadLocal<Double>(); |
203 |
203 |