Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRoundToDouble_minPreciselyRepresentableMinusOne (0.18 sec)

  1. 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_minPreciselyRepresentableMinusOne() {
        // 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top