?? shift left
- Posted by Bernie Ryan <xotron at localnet.com> May 13, 2001
- 358 views
Quoting the library reference : "There are no routines for shifting bits left or right, but you can achieve the same effect by multiplying or dividing by powers of 2." These are my examples : 1: 5 shifted-left 2 is equal to 20 2: 7 shifted-left 16 is equal to 458752 Now how can you do this with the power() function ?? Bernie