- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testRoundToDouble_maxPreciselyRepresentable (0.28 seconds)
-
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
public void testRoundToDouble_smallPositive() { new RoundToDoubleTester(BigDecimal.valueOf(16)) .setExpectation(16.0, RoundingMode.values()) .test(); } public void testRoundToDouble_maxPreciselyRepresentable() { new RoundToDoubleTester(BigDecimal.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), RoundingMode.values()) .test(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
public void testRoundToDouble_smallPositive() { new RoundToDoubleTester(BigDecimal.valueOf(16)) .setExpectation(16.0, RoundingMode.values()) .test(); } public void testRoundToDouble_maxPreciselyRepresentable() { new RoundToDoubleTester(BigDecimal.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), RoundingMode.values()) .test(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
new RoundToDoubleTester(BigInteger.valueOf(16)) .setExpectation(16.0, RoundingMode.values()) .test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_maxPreciselyRepresentable() { new RoundToDoubleTester(BigInteger.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), RoundingMode.values()) .test(); } @J2ktIncompatible @GwtIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 27.1K bytes - Click Count (0)