Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Do you know your bitwise operators?. Parent comment
- Interacting with hardware that uses certain bits in a register to control behavior - for example, Arduino digital ports [2]
- Doing arithmetic extra-fast with numbers that are powers of two - modulo becomes bitwise-and, division and multiplication become shifts
[1] http://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_pale...
[2] http://arduino.cc/en/Reference/PortManipulation
There are no comments on this comment yet.
- Interacting with hardware that uses certain bits in a register to control behavior - for example, Arduino digital ports [2]
- Doing arithmetic extra-fast with numbers that are powers of two - modulo becomes bitwise-and, division and multiplication become shifts
[1] http://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_pale...
[2] http://arduino.cc/en/Reference/PortManipulation