yank '>>>'?

retard re at tard.com.invalid
Mon Dec 7 12:50:41 PST 2009


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. :)



More information about the Digitalmars-d mailing list