Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testConstantsPowersOf10 (0.09 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top