Re: Calculations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem Maas wrote:
tedd wrote:
At 11:27 AM +0300 6/28/06, Robin Vickery wrote:
On 28/06/06, tedd <tedd@xxxxxxxxxxxx> wrote:
At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote:
http://www.php.net/manual/en/language.operators.bitwise.php

I wonder why that's true for php when it's common to use ^ in many other languages
for powers?
Perl: ^ is the bitwise xor operator
Python: ^ is the bitwise xor operator
C: ^ is the bitwise xor operator
Java: ^ is the bitwise xor operator
...

-robin
Oh well, that settles it then.  :-)

I guess the chinese-straw-hat operator has had it's meaning
changed by general consensus since the days when you were
programming with rocks ;-)


Pffft, kids.  Rocks weren't even invented in my day.  We had to use dirt.

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux