[php-src] Issue #8314: EXP(N) != M_E ** N
| From: | damianwadley | Date: | Thu, 07 Apr 2022 19:26:44 +0000 |
| Subject: | [php-src] Issue #8314: EXP(N) != M_E ** N | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240773@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8314
Comment Author: damianwadley
PHP is not responsible for the architecture of computer systems. If you have concrete suggestions
for how PHP can fix floating-point arithmetic then consider submitting your ideas to an academic
journal so that folks like IEEE as well as Intel and AMD can review your work.
In the meantime, round() your math.