/guava/guava/src/com/google/common/math/IntMath.java
return leadingZeros - saturatedAdd( x, powersOf10[y]) ;
return y - lessThanBranchFree ( x, powersOf10[y] ) ;
default: throw new AssertionError(); } } private static int log10Floor(int x) { int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)]; <extra_id_0> } @VisibleForTesting static final byte[] maxLog10ForLeadingZeros = { 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 };