/guava/guava/src/com/google/common/math/BigIntegerMath.java
approxPow = nextPow;approxCmp = nextCmp;
approxCmp = nextCmp;
} else { BigInteger nextPow = BigInteger.TEN.multiply(approxPow); int nextCmp = nextPow.compareTo(x); while (nextCmp <= 0) { approxLog10++; approxPow = nextPow; <extra_id_0> nextPow = BigInteger.TEN.multiply(approxPow); nextCmp = nextPow.compareTo(x); } } int floorLog = approxLog10; BigInteger floorPow = approxPow;