php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14544 Bogus warning: Trying to raise a nonpositive value to a broken power
Submitted: 2001-12-16 05:21 UTC Modified: 2001-12-16 18:41 UTC
From: drowland at bigpond dot net dot au Assigned:
Status: Closed Package: Math related
PHP Version: 4.1.0 OS: Red Hat Linux 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: drowland at bigpond dot net dot au
New email:
PHP Version: OS:

 

 [2001-12-16 05:21 UTC] drowland at bigpond dot net dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-16 05:38 UTC] derick@php.net
Fixed in CVS, thanks for the report!

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 14:01:30 2024 UTC