Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkedAdd (0.03 sec)

  1. guava/src/com/google/common/math/LongMath.java

       *
       * @throws ArithmeticException if {@code a + b} overflows in signed {@code long} arithmetic
       */
      @InlineMe(replacement = "Math.addExact(a, b)")
      public static long checkedAdd(long a, long b) {
        return Math.addExact(a, b);
      }
    
      /**
       * Returns the difference 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