Log is non-monotonic in PHP and Lua

Other: math programming(purplesyringa.moe)view on HackerNews
math.loglogarithmPHPLuafloating-pointprecisiondiscontinuityimplementation.

Author: ibobev

Date: 7/23/2026

Article Summary:
A blog post discusses a counterintuitive result in the PHP and Lua logarithm functions when the base is changed, which is not due to floating-point inaccuracy but rather a discontinuity in the implementation.