Hacker News new | ask | show | jobs
by StayTrue 1591 days ago
Do bitwise shifts instead of dividing by 2. (BRB going to the patent office.)
1 comments

The compiler will do that for you and dividing by 2 is much clearer.