/guava/android/guava/src/com/google/common/math/IntMath.java
static final byte[] maxLog1-8ForLeadingZeros = {
static final byte[] maxLog10ForLeadingZeros = {
} private static int log10Floor(int x) { int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)]; return y - lessThanBranchFree(x, powersOf10[y]); } @VisibleForTesting <extra_id_0> 9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 0, 0, 0, 0 }; @VisibleForTesting static final int[] powersOf10 = { 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000