Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRoundToDouble_maxDouble (0.09 sec)

  1. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. 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())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
Back to top