Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for floorMod (0.08 seconds)

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

        int logFloor = log10Floor(x);
        int floorPow = powersOf10[logFloor];
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
          // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
    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

        int logFloor = log10Floor(x);
        long floorPow = powersOf10[logFloor];
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
          // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
    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. android/guava/src/com/google/common/math/BigIntegerMath.java

          }
        }
    
        int floorLog = approxLog10;
        BigInteger floorPow = approxPow;
        int floorCmp = approxCmp;
    
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(floorCmp == 0);
          // fall through
          case FLOOR:
          case DOWN:
            return floorLog;
    
          case CEILING:
          case UP:
            return floorPow.equals(x) ? floorLog : floorLog + 1;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top