Bug #14544 Updated: Bogus warning: Trying to raise a nonpositive value to a broken power

From: Date: Sun, 16 Dec 2001 10:38:42 +0000
Subject: Bug #14544 Updated: Bogus warning: Trying to raise a nonpositive value to a broken power
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73991@lists.php.net to get a copy of this message
ID: 14544 Updated by: derick Reported By: drowland@bigpond.net.au Old Status: Open Status: Closed Bug Type: Compile Warning Operating System: Red Hat Linux 7.1 PHP Version: 4.1.0 New Comment: Fixed in CVS, thanks for the report! Derick Previous Comments: ------------------------------------------------------------------------ [2001-12-16 05:21:30] drowland@bigpond.net.au 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 this bug report at http://bugs.php.net/?id=14544&edit=1

« previous php.dev (#73991) next »