/libcore/ojluni/src/main/java/jdk/random/ |
D | Xoshiro256PlusPlus.java | 133 private long x0, x1, x2, x3; field in Xoshiro256PlusPlus 147 public Xoshiro256PlusPlus(long x0, long x1, long x2, long x3) { in Xoshiro256PlusPlus() argument 148 this.x0 = x0; in Xoshiro256PlusPlus() 153 if ((x0 | x1 | x2 | x3) == 0) { in Xoshiro256PlusPlus() 155 this.x0 = RandomSupport.mixStafford13(x0 += RandomSupport.GOLDEN_RATIO_64); in Xoshiro256PlusPlus() 156 this.x1 = (x0 += RandomSupport.GOLDEN_RATIO_64); in Xoshiro256PlusPlus() 157 this.x2 = (x0 += RandomSupport.GOLDEN_RATIO_64); in Xoshiro256PlusPlus() 158 this.x3 = (x0 += RandomSupport.GOLDEN_RATIO_64); in Xoshiro256PlusPlus() 204 long x0 = data[0], x1 = data[1], x2 = data[2], x3 = data[3]; in Xoshiro256PlusPlus() local 205 this.x0 = x0; in Xoshiro256PlusPlus() [all …]
|
D | Xoroshiro128PlusPlus.java | 124 private long x0, x1; field in Xoroshiro128PlusPlus 136 public Xoroshiro128PlusPlus(long x0, long x1) { in Xoroshiro128PlusPlus() argument 137 this.x0 = x0; in Xoroshiro128PlusPlus() 140 if ((x0 | x1) == 0) { in Xoroshiro128PlusPlus() 141 this.x0 = RandomSupport.GOLDEN_RATIO_64; in Xoroshiro128PlusPlus() 186 long x0 = data[0], x1 = data[1]; in Xoroshiro128PlusPlus() local 187 this.x0 = x0; in Xoroshiro128PlusPlus() 194 return new Xoroshiro128PlusPlus(x0, x1); in copy() 225 final long s0 = x0; in nextLong() 232 x0 = Long.rotateLeft(s0, 49) ^ s1 ^ (s1 << 21); // a, b in nextLong() [all …]
|
D | L64X128MixRandom.java | 141 private long s, x0, x1; field in L64X128MixRandom 155 public L64X128MixRandom(long a, long s, long x0, long x1) { in L64X128MixRandom() argument 159 this.x0 = x0; in L64X128MixRandom() 162 if ((x0 | x1) == 0) { in L64X128MixRandom() 165 this.x0 = RandomSupport.mixStafford13(v += RandomSupport.GOLDEN_RATIO_64); in L64X128MixRandom() 215 long a = data[0], s = data[1], x0 = data[2], x1 = data[3]; in L64X128MixRandom() local 219 this.x0 = x0; in L64X128MixRandom() 236 final long result = RandomSupport.mixLea64(s + x0); in nextLong() 242 long q0 = x0, q1 = x1; in nextLong() 249 x0 = q0; x1 = q1; in nextLong()
|
D | L64X128StarStarRandom.java | 141 private long s, x0, x1; field in L64X128StarStarRandom 155 public L64X128StarStarRandom(long a, long s, long x0, long x1) { in L64X128StarStarRandom() argument 159 this.x0 = x0; in L64X128StarStarRandom() 162 if ((x0 | x1) == 0) { in L64X128StarStarRandom() 165 this.x0 = RandomSupport.mixStafford13(v += RandomSupport.GOLDEN_RATIO_64); in L64X128StarStarRandom() 215 long a = data[0], s = data[1], x0 = data[2], x1 = data[3]; in L64X128StarStarRandom() local 219 this.x0 = x0; in L64X128StarStarRandom() 236 final long result = Long.rotateLeft((s + x0) * 5, 7) * 9; // "starstar" scrambler in nextLong() 242 long q0 = x0, q1 = x1; in nextLong() 249 x0 = q0; x1 = q1; in nextLong()
|
D | L32X64MixRandom.java | 140 private int s, x0, x1; field in L32X64MixRandom 154 public L32X64MixRandom(int a, int s, int x0, int x1) { in L32X64MixRandom() argument 158 this.x0 = x0; in L32X64MixRandom() 161 if ((x0 | x1) == 0) { in L32X64MixRandom() 164 this.x0 = RandomSupport.mixMurmur32(v += RandomSupport.GOLDEN_RATIO_32); in L32X64MixRandom() 214 int a = data[0], s = data[1], x0 = data[2], x1 = data[3]; in L32X64MixRandom() local 218 this.x0 = x0; in L32X64MixRandom() 235 final int result = RandomSupport.mixLea32(s + x0); in nextInt() 241 int q0 = x0, q1 = x1; in nextInt() 248 x0 = q0; x1 = q1; in nextInt()
|
D | L128X128MixRandom.java | 142 private long sh, sl, x0, x1; field in L128X128MixRandom 158 public L128X128MixRandom(long ah, long al, long sh, long sl, long x0, long x1) { in L128X128MixRandom() argument 164 this.x0 = x0; in L128X128MixRandom() 167 if ((x0 | x1) == 0) { in L128X128MixRandom() 170 this.x0 = RandomSupport.mixStafford13(v += RandomSupport.GOLDEN_RATIO_64); in L128X128MixRandom() 222 long ah = data[0], al = data[1], sh = data[2], sl = data[3], x0 = data[4], x1 = data[5]; in L128X128MixRandom() local 228 this.x0 = x0; in L128X128MixRandom() 246 final long result = RandomSupport.mixLea64(sh + x0); in nextLong() 264 long q0 = x0, q1 = x1; in nextLong() 272 x0 = q0; x1 = q1; in nextLong()
|
D | L64X256MixRandom.java | 142 private long s, x0, x1, x2, x3; field in L64X256MixRandom 158 public L64X256MixRandom(long a, long s, long x0, long x1, long x2, long x3) { in L64X256MixRandom() argument 162 this.x0 = x0; in L64X256MixRandom() 167 if ((x0 | x1 | x2 | x3) == 0) { in L64X256MixRandom() 170 this.x0 = RandomSupport.mixStafford13(v += RandomSupport.GOLDEN_RATIO_64); in L64X256MixRandom() 224 long a = data[0], s = data[1], x0 = data[2], x1 = data[3], x2 = data[4], x3 = data[5]; in L64X256MixRandom() local 228 this.x0 = x0; in L64X256MixRandom() 248 final long result = RandomSupport.mixLea64(s + x0); in nextLong() 254 long q0 = x0, q1 = x1, q2 = x2, q3 = x3; in nextLong() 264 x0 = q0; x1 = q1; x2 = q2; x3 = q3; in nextLong()
|
D | L128X256MixRandom.java | 151 private long sh, sl, x0, x1, x2, x3; field in L128X256MixRandom 169 … public L128X256MixRandom(long ah, long al, long sh, long sl, long x0, long x1, long x2, long x3) { in L128X256MixRandom() argument 175 this.x0 = x0; in L128X256MixRandom() 180 if ((x0 | x1 | x2 | x3) == 0) { in L128X256MixRandom() 183 this.x0 = RandomSupport.mixStafford13(v += RandomSupport.GOLDEN_RATIO_64); in L128X256MixRandom() 242 x0 = data[4], x1 = data[5], x2 = data[6], x3 = data[7]; in L128X256MixRandom() local 248 this.x0 = x0; in L128X256MixRandom() 269 final long result = RandomSupport.mixLea64(sh + x0); in nextLong() 288 long q0 = x0, q1 = x1, q2 = x2, q3 = x3; in nextLong() 298 x0 = q0; x1 = q1; x2 = q2; x3 = q3; in nextLong()
|
D | L64X1024MixRandom.java | 179 long x0, long x1, long x2, long x3, in L64X1024MixRandom() argument 187 this.x[0] = x0; in L64X1024MixRandom() 204 … if ((x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | x10 | x11 | x12 | x13 | x14 | x15) == 0) { in L64X1024MixRandom()
|
D | L128X1024MixRandom.java | 186 long x0, long x1, long x2, long x3, in L128X1024MixRandom() argument 196 this.x[0] = x0; in L128X1024MixRandom() 213 … if ((x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | x10 | x11 | x12 | x13 | x14 | x15) == 0) { in L128X1024MixRandom()
|
/libcore/luni/src/test/resources/ |
D | math_important_numbers.csv | 4 abs,0x0.0p0,0x0.0p0,0.0 5 abs,0x0.0p0,-0x0.0p0,-0.0 34 abs,0x0.0p0,0x0.0p0,0.0 59 acos,0x1.921fb54442d18p0,0x0.0p0,0.0 60 acos,0x1.921fb54442d18p0,-0x0.0p0,-0.0 61 acos,0x0.0p0,0x1.0p0,1.0 68 acos,0x1.921fb54442d18p0,0x0.0p0,0.0 72 asin,0x0.0p0,0x0.0p0,0.0 73 asin,-0x0.0p0,-0x0.0p0,-0.0 81 asin,0x0.0p0,0x0.0p0,0.0 [all …]
|
D | math_tests.csv | 12 tan,-0x0.0000000000001p-1022,-0x0.0000000000001p-1022 13 tan,0x0.0000000000001p-1022,0x0.0000000000001p-1022 62 tan,0x0.0000000000001p-1022,0x0.0000000000001p-1022 63 tan,-0x0.0000000000001p-1022,-0x0.0000000000001p-1022 446 tan,-0x0.0000000000001p-1022,-0x0.0000000000001p-1022 447 tan,0x0.0000000000001p-1022,0x0.0000000000001p-1022 448 tan,-0x0.0p0,-0x0.0p0 449 tan,0x0.0000000000001p-1022,0x0.0000000000001p-1022 450 tan,-0x0.0000000000001p-1022,-0x0.0000000000001p-1022 455 tan,-0x0.fffffffffffffp-1022,-0x0.fffffffffffffp-1022 [all …]
|
D | math_java_only.csv | 1735 ceil,-0x0.0p0,-0x1.8819e79d62b8p-1 1739 ceil,-0x0.0p0,-0x1.fe333a8929a13p-4 1750 ceil,-0x0.0p0,-0x1.275b5fb11c3a7p-1 1756 ceil,-0x0.0p0,-0x1.244624fd8840ep-1 1758 ceil,-0x0.0p0,-0x1.369578820b61fp-1 1760 ceil,-0x0.0p0,-0x1.aed83bf3664f7p-1 1762 ceil,-0x0.0p0,-0x1.d3a80f7edc393p-9 1768 ceil,-0x0.0p0,-0x1.6407f78e81b44p-4 1773 ceil,-0x0.0p0,-0x1.3e013d62a6722p-5 1777 ceil,-0x0.0p0,-0x1.60e23c27385ap-1 [all …]
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | MultiplicationTests.java | 58 long x0 = x & 0xffffffffL; in unsignedMultiplyHigh() local 63 long t = x1 * y0 + ((x0 * y0) >>> 32); in unsignedMultiplyHigh() 64 long z0 = x0 * y1 + (t & 0xffffffffL); in unsignedMultiplyHigh()
|
/libcore/api/ |
D | module-lib-current.txt | 236 field @Deprecated public static final int NO_DEXOPT_NEEDED = 0; // 0x0 362 field public static final int ACCESS_METHOD_NONE = 0; // 0x0 743 field public static final short POSITIVE_ZERO = 0; // 0x0
|
D | current.txt | 994 field public static final int OP_NOP = 0; // 0x0 2531 field public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = 0; // 0x0 2563 field public static final int MIN_CODE_POINT = 0; // 0x0 2585 field public static final byte UNASSIGNED = 0; // 0x0 5099 field public static final int PUBLIC = 0; // 0x0 5320 field @Deprecated public static final int ROUND_UP = 0; // 0x0 8564 field protected static final int UNINITIALIZED = 0; // 0x0 9843 field public static final int TRANSACTION_NONE = 0; // 0x0 10033 field public static final short attributeNoNulls = 0; // 0x0 10039 field public static final int bestRowTemporary = 0; // 0x0 [all …]
|