Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for log10Floor (0.05 seconds)

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

       */
      @GwtIncompatible // need BigIntegerMath to adequately test
      @SuppressWarnings("fallthrough")
      public static int log10(int x, RoundingMode mode) {
        checkPositive("x", x);
        int logFloor = log10Floor(x);
        int floorPow = powersOf10[logFloor];
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
          // fall through
          case FLOOR:
          case DOWN:
    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

      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log10(long x, RoundingMode mode) {
        checkPositive("x", x);
        int logFloor = log10Floor(x);
        long floorPow = powersOf10[logFloor];
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
          // fall through
          case FLOOR:
          case DOWN:
    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)
Back to Top