lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Mar 26, 2014 at 02:15:55PM +0000, Daniel Silverstone wrote:
> On Wed, Mar 26, 2014 at 07:21:11 +0200, Dirk Laurie wrote:
> > Maybe we could have our cake and eat it. One of x>>4 or x<<-4 to mean logical,
> > the other to mean arithmetic, shift.
> 
> Negative is unpleasant IMO.  But <<< and >>> are perfectly reasonable operators.

These would confuse me, as I've used languages in the past where these
represent rotate, not shift.

B.