Bit shifts

From Rosetta Code
Redirect page