News for hackers. Stuff that matters.
Re:20 bit operations programmers should know by NonEUCitizen on Saturday June 08, 2013 @08:18AM (#5844673)
#14 (calculating 2^n), is usually implemented as:

  return 1 << n;

in which case it would also work for n == 0. The method shown in the article has a comment requiring n > 0.

There are no comments on this comment yet.