[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-12 Thread Andi Gutmans
At 12:15 AM 9/11/2001 +0200, Alexander Wirtz wrote: >Hi Jeroen, > >to give a little bit background, as a student of computersciences I happen >to work with bitshift not as a means of having a "quick" multiplication or >division, but as using it to "manipulate" bit-patterns. >The distinction betwee

Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-11 Thread Phil Driscoll
+1 for >>> -- Phil Driscoll -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Re: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason T . Greene
ED]>, > <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]>, > "Andrei Zmievski" <[EMAIL PROTECTED]>, > "Andi Gutmans" <[EMAIL PROTECTED]> > Subject: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shif

[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Alexander Wirtz
Hi Jeroen, to give a little bit background, as a student of computersciences I happen to work with bitshift not as a means of having a "quick" multiplication or division, but as using it to "manipulate" bit-patterns. The distinction between signed and unsigned rightshift is nothing strange, obscu

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jeroen van Wolffelaar
> FWIW: > Signed shift seems to make little sense to me personally, since we are > just dealing with a row of bits, and if you really want to do a quick > multiplication/division, you might just as well use a * or / operator - > it is not going to hurt that much:). I completely agree > *However*

Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Vlad Krupin
FWIW: Signed shift seems to make little sense to me personally, since we are just dealing with a row of bits, and if you really want to do a quick multiplication/division, you might just as well use a * or / operator - it is not going to hurt that much:). *However*, it's been possible in diffe

[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jeroen van Wolffelaar
> 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 > >>>. In my opinion, << and >> should consider integers as a row of bits, thus do not treat the msb differ

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason Greene
"Andi Gutmans" <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 9:56 AM Subject: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Jason et al., > > On Mo

Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Alexander Wirtz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jason et al., On Monday 10 September 2001 16:24, Jason Greene wrote: > 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 n

[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason Greene
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