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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Tue Apr 23 11:01:33 2024 UTC