Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rem (0.25 sec)

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

        checkNotNull(mode);
        if (q == 0) {
          throw new ArithmeticException("/ by zero"); // for GWT
        }
        int div = p / q;
        int rem = p - q * div; // equal to p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
    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