Re: Calculations and exponents in languages

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

 



Huh.. thanks for the illustration Robin.  Can't say that I did much with exponents when I've played around with perl or python or C.. and never worked with Java.  You've expanded my view.

Ok, now what languages DO use ^ for exponents?

-TG

= = = Original message = = =

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


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
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