Hm, perhaps, but I am confused now. In the article, you're comparing log_a x < log_b x, but now you're comparing log_a x > log_b x in your comment. To make it clear, I am running this code:
https://bpa.st/ZCKAWhich prints, for LuaJIT:
true
true
false
And for Lua 5.5:
true
false
false