note 118948 deleted from migration70.incompatible by cmb
| From: | cmb@php.net | Date: | Fri, 22 Jul 2016 18:06:30 +0000 |
| Subject: | note 118948 deleted from migration70.incompatible by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206076@lists.php.net to get a copy of this message | ||
Note Submitter: just for floats
----
Paolo:
Change this:
"foreach ([-1.0, -0.75, -0.5, -0.25, -0.1, -0.01, 0] as $x) {"
to this:
"foreach ([-1.0, -0.75, -0.5, -0.25, -0.1, -0.01, -1/1e10000] as $x) {"
and try again. Note replacing zero with -1/1e10000, which underflows to negative zero. You used
"positive" zero there :)