- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for 53 (0.12 sec)
-
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
new RoundToDoubleTester(BigDecimal.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), values()) .test(); } public void testRoundToDouble_maxPreciselyRepresentablePlusOne() { double twoToThe53 = Math.pow(2, 53); // the representable doubles are 2^53 and 2^53 + 2. // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
new RoundToDoubleTester(BigInteger.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), values()) .test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_maxPreciselyRepresentablePlusOne() { double twoToThe53 = Math.pow(2, 53); // the representable doubles are 2^53 and 2^53 + 2. // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
new RoundToDoubleTester(BigInteger.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), values()) .test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_maxPreciselyRepresentablePlusOne() { double twoToThe53 = Math.pow(2, 53); // the representable doubles are 2^53 and 2^53 + 2. // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
new RoundToDoubleTester(BigDecimal.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), values()) .test(); } public void testRoundToDouble_maxPreciselyRepresentablePlusOne() { double twoToThe53 = Math.pow(2, 53); // the representable doubles are 2^53 and 2^53 + 2. // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} catch (IllegalArgumentException expected) { } } private static final long[] roundToDoubleTestCandidates = { 0, 16, 1L << 53, (1L << 53) + 1, (1L << 53) + 2, (1L << 53) + 3, (1L << 53) + 4, 1L << 54, (1L << 54) + 1, (1L << 54) + 2, (1L << 54) + 3, (1L << 54) + 4, 0x7ffffffffffffe00L, // halfway between 2^63 and next-lower double
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
} catch (IllegalArgumentException expected) { } } private static final long[] roundToDoubleTestCandidates = { 0, 16, 1L << 53, (1L << 53) + 1, (1L << 53) + 2, (1L << 53) + 3, (1L << 53) + 4, 1L << 54, (1L << 54) + 1, (1L << 54) + 2, (1L << 54) + 3, (1L << 54) + 4, 0x7ffffffffffffe00L, // halfway between 2^63 and next-lower double
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
.put(166, 0x4f7acff7703a635bL) .put(132, 0xa784bd0a1f22cc7fL) .put(105, 0xf19118e187456638L) .put(84, 0x3e2e58f9196abfe5L) .put(67, 0xd38ae3dec0107aeaL) .put(53, 0xea3033885868e10eL) .put(42, 0x1394a146d0d7e04bL) .put(33, 0x9962499315d2e8daL) .put(26, 0x0849f5cfa85489b5L) .put(20, 0x83b395ff19bf2171L) .put(16, 0x9d33dd141bd55d9aL)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathTesting.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
.put(166, 0x4f7acff7703a635bL) .put(132, 0xa784bd0a1f22cc7fL) .put(105, 0xf19118e187456638L) .put(84, 0x3e2e58f9196abfe5L) .put(67, 0xd38ae3dec0107aeaL) .put(53, 0xea3033885868e10eL) .put(42, 0x1394a146d0d7e04bL) .put(33, 0x9962499315d2e8daL) .put(26, 0x0849f5cfa85489b5L) .put(20, 0x83b395ff19bf2171L) .put(16, 0x9d33dd141bd55d9aL)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
// The values here look like 111...11101...010 in binary, where the initial 111...1110 takes // up exactly as many bits as can be represented in the significand (24 for float, 53 for // double). That final 0 should be rounded up to 1 because the remaining bits make that number // slightly nearer. long floatConversionTest = 0xfffffe8000000002L; long doubleConversionTest = 0xfffffffffffff402L;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0)