Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testSaturatedPow (0.12 sec)

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

                "s*",
                saturatedCast(valueOf(a).multiply(valueOf(b))),
                IntMath.saturatedMultiply(a, b));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testSaturatedPow() {
        for (int a : ALL_INTEGER_CANDIDATES) {
          for (int b : EXPONENTS) {
            assertOperationEquals(
                a, b, "s^", saturatedCast(valueOf(a).pow(b)), IntMath.saturatedPow(a, b));
          }
        }
    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

                "s*",
                saturatedCast(valueOf(a).multiply(valueOf(b))),
                IntMath.saturatedMultiply(a, b));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testSaturatedPow() {
        for (int a : ALL_INTEGER_CANDIDATES) {
          for (int b : EXPONENTS) {
            assertOperationEquals(
                a, b, "s^", saturatedCast(valueOf(a).pow(b)), IntMath.saturatedPow(a, b));
          }
        }
    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

                "s*",
                saturatedCast(valueOf(a).multiply(valueOf(b))),
                LongMath.saturatedMultiply(a, b));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testSaturatedPow() {
        for (long a : ALL_LONG_CANDIDATES) {
          for (int b : EXPONENTS) {
            assertOperationEquals(
                a, b, "s^", saturatedCast(valueOf(a).pow(b)), LongMath.saturatedPow(a, b));
          }
        }
    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