Re: note 22448 added to function.pow
| From: | Rasmus Lerdorf | Date: | Tue, 18 Jun 2002 18:07:27 +0000 |
| Subject: | Re: note 22448 added to function.pow | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-31985@lists.php.net to get a copy of this message | ||
^ is the standard operator for XOR in most languages.
On 18 Jun 2002 xftp@yahoo.com wrote:
> I spent more than 1 day troubleshooting a financial formula, then i found out that 2^3 = 1 in
> php! not 8 i dont understand why the php developers didnt think of a standard way of doing this why
> create a pow function? perl uses ** operator 2**3=8 , excel uses the ^ operator 2^3=8, and php the
> pow function... pow(2,3)=8
> --
> http://www.php.net/manual/en/function.pow.php
> http://master.php.net/manage/user-notes.php?action=edit+22448
> http://master.php.net/manage/user-notes.php?action=delete+22448
> http://master.php.net/manage/user-notes.php?action=reject+22448
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>