Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for floorDiv (0.05 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

       * equivalent to regular Java division, {@code p / q}; and if it is {@link RoundingMode#FLOOR},
       * then this method is equivalent to {@link Math#floorDiv(int,int) Math.floorDiv}{@code (p, q)}.
       *
       * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
       *     is not an integer multiple of {@code b}
       */
    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

       * equivalent to regular Java division, {@code p / q}; and if it is {@link RoundingMode#FLOOR},
       * then this method is equivalent to {@link Math#floorDiv(long,long) Math.floorDiv}{@code (p, q)}.
       *
       * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
       *     is not an integer multiple of {@code b}
       */
      @GwtIncompatible // TODO
    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)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

              // Check the assertions we make in the javadoc.
              if (mode == DOWN) {
                assertEquals(p / q, LongMath.divide(p, q, mode));
              } else if (mode == FLOOR) {
                assertEquals(Math.floorDiv(p, q), LongMath.divide(p, q, mode));
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top