Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMaxLog10ForLeadingZeros (0.08 sec)

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

          assertEquals(IntMath.pow(10, i), IntMath.powersOf10[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top