Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for floorMod (0.08 sec)

  1. 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:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. 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;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top