Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkedSubtract (0.04 sec)

  1. 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.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top