Re: Calculations and exponents in languages

From: Date: Wed, 28 Jun 2006 15:36:37 +0000
Subject: Re: Calculations and exponents in languages
Groups: php.general 
Request: Send a blank email to php-general+get-238803@lists.php.net to get a copy of this message
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@sperling.com> 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.

« previous php.general (#238803) next »