note 118424 modified in migration70.incompatible by cmb
| From: | cmb@php.net | Date: | Tue, 24 May 2016 13:56:39 +0000 |
| Subject: | note 118424 modified in migration70.incompatible by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205577@lists.php.net to get a copy of this message | ||
[Editor's note: fixed limit on user request]
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.
--was--
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.
http://php.net/manual/en/migration70.incompatible.php