Re: Calculations
| From: | tedd | Date: | Thu, 06 Jul 2006 14:49:02 +0000 |
| Subject: | Re: Calculations | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239173@lists.php.net to get a copy of this message | ||
At 2:36 PM +0200 7/6/06, 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 ;-)
That was an old thread -- are you finally getting to it?
You're falling behind in your reading. :-)
tedd
PS: ^ was used for other things other than a bitwise xor operator as portions of this thread has
shown. I just don't remember them -- of course, I don't remember what I had for breakfast
yesterday either.
--
------------------------------------------------------------------------------------
http://sperling.com http://ancientstones.com http://earthstones.com