Bug #14544: Bogus warning: Trying to raise a nonpositive value to a broken power
| From: | drowland at bigpond dot net dot au | Date: | Sun, 16 Dec 2001 10:21:31 +0000 |
| Subject: | Bug #14544: Bogus warning: Trying to raise a nonpositive value to a broken power | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73989@lists.php.net to get a copy of this message | ||
From: drowland@bigpond.net.au
Operating system: Red Hat Linux 7.1
PHP version: 4.1.0
PHP Bug Type: Compile Warning
Bug description: Bogus warning: Trying to raise a nonpositive value to a broken power
When running the following on php 4.1.0:
<? echo pow(abs(-00.00),.5); ?>
I receive the following error:
Warning: Trying to raise a nonpositive value to a broken power in
/var/www/bnt3/test2.php on line 1
Given the abs function, there should be no way that it is a nonpositive
value.
--
Edit bug report at: http://bugs.php.net/?id=14544&edit=1