- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testRoundToDouble_maxDouble (0.12 seconds)
-
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 4)) .setExpectation(Math.pow(2, 54) + 4, RoundingMode.values()) .test(); } public void testRoundToDouble_maxDouble() { BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE); new RoundToDoubleTester(maxDoubleAsBigDecimal) .setExpectation(Double.MAX_VALUE, 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
new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 4)) .setExpectation(Math.pow(2, 54) + 4, RoundingMode.values()) .test(); } public void testRoundToDouble_maxDouble() { BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE); new RoundToDoubleTester(maxDoubleAsBigDecimal) .setExpectation(Double.MAX_VALUE, 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
.setExpectation(Math.pow(2, 54) + 4, RoundingMode.values()) .test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_maxDouble() { BigInteger maxDoubleAsBigInteger = DoubleMath.roundToBigInteger(Double.MAX_VALUE, UNNECESSARY); new RoundToDoubleTester(maxDoubleAsBigInteger) .setExpectation(Double.MAX_VALUE, RoundingMode.values())
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)