Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testLog10Exact (0.07 seconds)

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

            assertTrue(result == 0 || TEN.pow(result - 1).compareTo(x) < 0);
          }
        }
      }
    
      // Relies on the correctness of log10(BigInteger, FLOOR).
      @GwtIncompatible // TODO
      public void testLog10Exact() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          int logFloor = BigIntegerMath.log10(x, FLOOR);
          boolean expectSuccess = TEN.pow(logFloor).equals(x);
          try {
    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)
Back to Top