Good Idea
Is there anyone out there who uses >> on negative numbers?
There is the discussion on the engine2 list about whether to
make >> an unsigned right shift, or to introduce a new operator
>>>.
Speak-up or potential loose your negative shift-ability
: )
-Jason
----- Original Message -----
From: "Andrei Zmievski" <[EMAIL PROTECTED]>
To: "Andi Gutmans" <[EMAIL PROTECTED]>
Cc: "Jason T. Greene" <[EMAIL PROTECTED]>; "Jason Greene" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 8:22 AM
Subject: Re: [Zend Engine 2] Right/Left Shift Zero Fill operator
> On Fri, 07 Sep 2001, Andi Gutmans wrote:
> > I guess the reason for this is because some people in C use >> 1 to divide
> > by 2. I don't think this has had its uses in PHP and I think we should
> > change it to do an unsigned shift.
>
> Maybe you should ask on the php-dev list first.. if anyone uses it for
> division.
>
> -Andrei
>
> "In this age, which believes that there is a short cut to everything,
> the greatest lesson to be learned is that the most difficult way is, in
> the long run, the easiest."
> -Henry Miller, The Books in My Life
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]