int power function comparison