note 40883 deleted from function.pow by hholzgra
| From: | hholzgra@php.net | Date: | Thu, 02 Aug 2012 15:29:36 +0000 |
| Subject: | note 40883 deleted from function.pow by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189863@lists.php.net to get a copy of this message | ||
Note Submitter: matthew underscore kay at ml1 dot net
----
As of PHP5beta4, pow() with negative bases appears to work correctly and without errors (from a few
cursory tests):
pow(-3, 3) = -27
pow(-3, 2) = 9
pow(-5, -1) = -0.2