by Ennea · 3mo ago · 0 comments
Which prints, for LuaJIT: true true false
And for Lua 5.5: true false false
The topic of the post is that in PHP and Lua (without LuaJIT), sometimes this inequality doesn't hold, and instead we get `log_a x > log_b x`, which is very incorrect and cannot be explained away by rounding.
Does that make more sense?