Go to the home page of this site

A Demonstration of BitShifting. Try some negative numbers you may be surprised. Check the results against a calculator, such as calc in windows.




Source to BitShift.java
Source to BitShiftAp.java