Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLog10HalfEven (0.16 sec)

  1. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          assertTrue(result == 0 || TEN.pow(2 * result - 1).compareTo(x2) < 0);
        }
      }
    
      // Relies on the correctness of log10(BigInteger, {HALF_UP,HALF_DOWN}).
      @GwtIncompatible // TODO
      public void testLog10HalfEven() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          int halfEven = BigIntegerMath.log10(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top