Re: Calculations

From: Date: Thu, 06 Jul 2006 12:36:50 +0000
Subject: Re: Calculations
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-239169@lists.php.net to get a copy of this message
tedd wrote: > At 11:27 AM +0300 6/28/06, Robin Vickery wrote: >> 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 > > 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 ;-) > > tedd

« previous php.general (#239169) next »