Re: Calculations

From: Date: Thu, 06 Jul 2006 16:32:19 +0000
Subject: Re: Calculations
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-239176@lists.php.net to get a copy of this message
On Thu, 2006-07-06 at 08:45, John Nichel wrote: > Jochem Maas wrote: > > 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 ;-) > > > > Pffft, kids. Rocks weren't even invented in my day. We had to use dirt. Rock predates dirt. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#239176) next »