How to do exponential division when base and exponent is different between numerator and denominator?

How to do division when

(a power x) / (b power y)

Say, a,x,b,y are distinct values.

For example,

(2 power 19) / (7 power 23). Doing mathematical operations with bigger exponents is tedious and error-prone.

Is there any way to simplify above expression such that the final decimal result wouldn't change?

Is there any way to simplify this such that after simplifying, I don't have to calculate exponent > 10, say.

I had the same question posted in sof :


But the problem with that solution is I'm ending up calculating huge exponents even after simplifying.

• You can probably play around with logarithms and get $10^{19\log 2-23\log7}$, but other than that I don't think there is a way to simplify this. Commented Nov 6, 2019 at 6:28

$$2^{19 - 23\log_2{7}} = 10^{\log_{10}2\;(19 - 23\log_2{7})}=10^{-13.717685}=10^{0.282315}\;10^{-14}= 1.915645\;10^{-14}$$
You don't have to compute huge exponent ($$10^{-14}$$), it goes directly to output