DbSimple
DbSimple copied to clipboard
define('DBSIMPLE_SKIP', log(0));
define('DBSIMPLE_SKIP', log(0));
Log(0)? Seriously?
Absolutely. This was the simplest way to get NaN floating point value in PHP.
On Fri, Nov 2, 2018 at 19:10 Karel Wintersky [email protected] wrote:
define('DBSIMPLE_SKIP', log(0));
Log(0)? Seriously?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DmitryKoterov/DbSimple/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEAax_riX4en0iBZj8HCeSV7f3vE6eQks5urPsQgaJpZM4YMlsX .
Why floating point NaN? Why not a 1, or 0, or MAX_INT ?