#40729 [Opn->Csd]: Contradiction in manaual page for pow() function

From: Date: Fri, 23 Mar 2007 15:13:43 +0000
Subject: #40729 [Opn->Csd]: Contradiction in manaual page for pow() function
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969375843@lists.php.net to get a copy of this message
ID: 40729 Updated by: vrana@php.net Reported By: dkrysiak at o2 dot pl -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "PHP cannot handle negative exps." Previous Comments: ------------------------------------------------------------------------ [2007-03-05 14:46:25] dkrysiak at o2 dot pl As my first comment... Maybe person which has created the documentation, wanted to write about exponent ($exp) parameter - not about a base parameter :-) ------------------------------------------------------------------------ [2007-03-05 14:39:19] dkrysiak at o2 dot pl Description: ------------ http://pl.php.net/manual/en/function.pow.php There is a contradiction in this documentation page. The man page states: "Note: PHP cannot handle negative bases." but few lines later such an example occurrs: <?php echo pow(-1, 20); // 1 ?> Decide please :-) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40729&edit=1

« previous php.doc (#969375843) next »