(int)(log(y)/log(x))