importantSYS.SOURCE: purplesyringa's blog• 2026-07-23T14:00:48Z
Non-Monotonic Logarithm Behavior in PHP and Lua Due to Implementation Choices
The article explains why logarithmic calculations in PHP and Lua can exhibit non-monotonic behavior when using specific bases, due to implementation differences in handling logarithm functions. It highlights how special-casing base 10 and 2 operations leads to discontinuities that violate expected mathematical properties.
*** END OF TRANSMISSION ***