Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstantsPowersOf10 (0.07 sec)

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

                .intValue(),
            /* actual= */ IntMath.MAX_POWER_OF_SQRT2_UNSIGNED);
      }
    
      @GwtIncompatible // pow()
      public void testConstantsPowersOf10() {
        for (int i = 0; i < IntMath.powersOf10.length - 1; i++) {
          assertEquals(IntMath.pow(10, i), IntMath.powersOf10[i]);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR),
              LongMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // TODO
      public void testConstantsPowersOf10() {
        for (int i = 0; i < LongMath.powersOf10.length; i++) {
          assertEquals(LongMath.checkedPow(10, i), LongMath.powersOf10[i]);
        }
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top