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

From: Date: Mon, 05 Mar 2007 14:46:25 +0000
Subject: #40729 [Opn]: Contradiction in manaual page for pow() function
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969375735@lists.php.net to get a copy of this message
ID: 40729 User updated by: dkrysiak at o2 dot pl Reported By: dkrysiak at o2 dot pl Status: Open Bug Type: Documentation problem PHP Version: Irrelevant New Comment: As my first comment... Maybe person which has created the documentation, wanted to write about exponent ($exp) parameter - not about a base parameter :-) Previous Comments: ------------------------------------------------------------------------ [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 (#969375735) next »