Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for saturatedAdd (0.16 sec)

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

       * {@code Integer.MAX_VALUE} or {@code Integer.MIN_VALUE} is returned, respectively.
       *
       * @since 20.0
       */
      public static int saturatedAdd(int a, int b) {
        return Ints.saturatedCast((long) a + b);
      }
    
      /**
       * Returns the difference of {@code a} and {@code b} unless it would overflow or underflow in
    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