RE: ?? shift left

new topic     » goto parent     » topic index » view thread      » older message » newer message

>How about just shift_bits(x,steps)
>step could positive or negative..
>


The main reason to use shifts at all (imo) is the speed gain compared to 
mul/div. A more flexible shift-function would probably consume most, if not 
all of the speed gained.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu