/guava/android/guava/src/com/google/common/math/LongMath.java
return Long.SIZE - Long.numberOfLeadingZeros ( x - 1 ) ;
checkRoundingUnnecessary(isPowerOfTwo(x)); case DOWN: case FLOOR: return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); case UP: case CEILING: <extra_id_0> case HALF_DOWN: case HALF_UP: case HALF_EVEN: int leadingZeros = Long.numberOfLeadingZeros(x); long cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros; int logFloor = (Long.SIZE - 1) - leadingZeros;