09-08-2022, 10:47 PM
(09-05-2022, 11:22 PM)SMcNeill Wrote: Folks seem to be asking, "What's _ROL and _ROR? How are the different from the bit shifting routines for _SHL and _SHR?"Simple answer:
Shift is like a bulldozer pushing the bits off the edge. The bits are replaced by 0 for non-negative numbers and 1 for negative numbers.
Rotate is like putting the bits on a conveyor belt or a lazy Susan. the bits that roll off come back around.
While 1
Fix Bugs
report all bugs fixed
receive bug report
end while
Fix Bugs
report all bugs fixed
receive bug report
end while