Sun, 06 Dec 2009 12:24:33 -0500, bearophile wrote:

> Andrei Alexandrescu:
>> Should we yank operator>>>?
> 
> We can change it purpose and add the other one: <<< rotate left
>>>> rotate right

Or some other user cases

a >>> 1 // count the number of leading 1s
a <<< 0 // count the number of trailing zeros

Those are also single instructions on some architectures. :)

Reply via email to