Home
last modified time | relevance | path

Searched refs:DOUBLE_UNIT (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DSplittableRandom.java167 private static final double DOUBLE_UNIT = 0x1.0p-53; // 1.0 / (1L << 53); field in SplittableRandom
349 double r = (nextLong() >>> 11) * DOUBLE_UNIT; in internalNextDouble()
513 return (mix64(nextSeed()) >>> 11) * DOUBLE_UNIT; in nextDouble()
528 double result = (mix64(nextSeed()) >>> 11) * DOUBLE_UNIT * bound; in nextDouble()
DRandom.java92 private static final double DOUBLE_UNIT = 0x1.0p-53; // 1.0 / (1L << 53) field in Random
532 return (((long)(next(26)) << 27) + next(27)) * DOUBLE_UNIT; in nextDouble()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java268 double r = (nextLong() >>> 11) * DOUBLE_UNIT; in internalNextDouble()
387 return (mix64(nextSeed()) >>> 11) * DOUBLE_UNIT; in nextDouble()
402 double result = (mix64(nextSeed()) >>> 11) * DOUBLE_UNIT * bound; in nextDouble()
1016 private static final double DOUBLE_UNIT = 0x1.0p-53; // 1.0 / (1L << 53) field in ThreadLocalRandom
/libcore/ojluni/annotations/hiddenapi/java/util/
DRandom.java173 private static final double DOUBLE_UNIT = 1.1102230246251565E-16; field in Random