# JavaScript, 47 bytes f=(a,b,c,h,i,j)=>(l=Math.log)(a)/l(h)*b**c>i**j <s>Surprisingly, the test cases doesn't show any floating-point error. I don't know if it ever does at this size.</s> This just compares the logarithm of the numbers.