computes the logarithm of the given value to the base of 2 , rounded down . it corresponds to the position of the highest non-zero bit . the position is counted , starting with 0 from the least significant bit to the most significant bit . for example , log2floor 16 = 4 , and log2floor 10 = 3 . concode_field_sep PlaceHolder placeHolder concode_field_sep int roundDownToPowerOf2 concode_elem_sep boolean isPowerOf2 concode_elem_sep int murmurHash concode_elem_sep int log2strict concode_elem_sep int checkedDownCast concode_elem_sep int jenkinsHash
int function ( int arg0 ) { if ( arg0 == 0 ) { throw new ArithmeticException ( "srini_string" ) ; } int loc0 = 0 ; while ( ( arg0 = arg0 >>> 1 ) != 0 ) { loc0 ++ ; } return loc0 ; }