compute exponentiation a ^ k concode_field_sep int polynomial concode_elem_sep int degree concode_field_sep int add concode_elem_sep int inverse concode_elem_sep String elementToStr concode_elem_sep int mult concode_elem_sep byte[] getEncoded concode_elem_sep int getRandomElement concode_elem_sep int getPolynomial concode_elem_sep int getRandomNonZeroElement concode_elem_sep int getRandomNonZeroElement concode_elem_sep boolean isElementOfThisField concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getDegree concode_elem_sep String toString concode_elem_sep int sqRoot concode_elem_sep String polyToString
int function ( int arg0 , int arg1 ) { if ( arg1 == 0 ) { return 1 ; } if ( arg0 == 0 ) { return 0 ; } if ( arg0 == 1 ) { return 1 ; } int loc0 = 1 ; if ( arg1 < 0 ) { arg0 = inverse ( arg0 ) ; arg1 = - arg1 ; } while ( arg1 != 0 ) { if ( ( arg1 & 1 ) == 1 ) { loc0 = mult ( loc0 , arg0 ) ; } arg0 = mult ( arg0 , arg0 ) ; arg1 >>>= 1 ; } return loc0 ; }