note 118424 added to migration70.incompatible
| From: | me at fquff dot io | Date: | Fri, 04 Dec 2015 06:45:15 +0000 |
| Subject: | note 118424 added to migration70.incompatible | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204273@lists.php.net to get a copy of this message | ||
As a mathematician, 3/0 == +INF IS JUST WRONG. You can't just assume 3/0 == lim_{x->0} 3/x,
which is +INF indeed, because division IS NOT A CONTINUOUS FUNCTION in x == 0.
Also, 3/0 == +INF ("positive" infinity) while -3/0 == -INF ("negative" infinity)
requires the assumption that 0 is a positive number, which is just as illogical as it looks like.
The fact that a warning is emitted is good, but it should definitely equals to NaN. ±INF is just
illogical (and arithmetically wrong).
Except for this "detail", looks an amazing update, can't wait to test it even
further!
Cheers,
P.
----
Server IP: 72.52.91.14
Probable Submitter: 93.44.95.45
----
Manual Page -- http://php.net/manual/en/migration70.incompatible.php
Edit -- https://master.php.net/note/edit/118424
Del: integrated -- https://master.php.net/note/delete/118424/integrated
Del: useless -- https://master.php.net/note/delete/118424/useless
Del: bad code -- https://master.php.net/note/delete/118424/bad+code
Del: spam -- https://master.php.net/note/delete/118424/spam
Del: non-english -- https://master.php.net/note/delete/118424/non-english
Del: in docs -- https://master.php.net/note/delete/118424/in+docs
Del: other reasons-- https://master.php.net/note/delete/118424
Reject -- https://master.php.net/note/reject/118424
Search -- https://master.php.net/manage/user-notes.php