Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for checkedSubtract (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

       *
       * @throws ArithmeticException if {@code a - b} overflows in signed {@code int} arithmetic
       */
      @InlineMe(replacement = "Math.subtractExact(a, b)")
      public static int checkedSubtract(int a, int b) {
        return Math.subtractExact(a, b);
      }
    
      /**
       * Returns the product of {@code a} and {@code b}, provided it does not overflow.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/LongMath.java

       * b}.
       *
       * @throws ArithmeticException if {@code a - b} overflows in signed {@code long} arithmetic
       */
      @InlineMe(replacement = "Math.subtractExact(a, b)")
      public static long checkedSubtract(long a, long b) {
        return Math.subtractExact(a, b);
      }
    
      /**
       * Returns the product of {@code a} and {@code b}, provided it does not overflow.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
Back to Top