What is the fastest way to check if xy>yx if I were writing a computer program to do that?
The issue is that x and y can be very large.
Answer
If both x and y are positive then you can just check: log(x)x>log(y)y
so if both x and y are greater than e≈2.7183 then you can just check: x<y
Attribution
Source : Link , Question Author : learner , Answer Author : Henry