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

From: Date: Mon, 10 Sep 2001 17:04:23 +0000
Subject: Re: [Zend Engine 2] Right/Left Shift Zero Fill operator
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-65674@lists.php.net to get a copy of this message
> 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 differently... I believe you call it shifting unsigned longs? You shouldn't use >> and << for arithmetic, no 'quick' division by 2 etc... --Jeroen

« previous php.dev (#65674) next »