|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-13 16:41 UTC] jmcastagnetto@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
Description: ------------ function sqrt() {/*{{{*/ if ($this->isZero()) { return true; } elseif ($this->isNegative()) { return PEAR::isError('Cannot take square root of a negative number'); this should read function sqrt() {/*{{{*/ if ($this->isZero()) { return true; } elseif ($this->isNegative()) { return PEAR::raiseError('Cannot take square root of a negative number');