Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for project (0.18 sec)

  1. android/guava/src/com/google/common/math/IntMath.java

      public static int checkedSubtract(int a, int b) {
        long result = (long) a - b;
        checkNoOverflow(result == (int) result, "checkedSubtract", a, b);
        return (int) result;
      }
    
      /**
       * Returns the product of {@code a} and {@code b}, provided it does not overflow.
       *
       * @throws ArithmeticException if {@code a * b} overflows in signed {@code int} arithmetic
       */
      public static int checkedMultiply(int a, int b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top