Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Helping a stranger, and why you should understand NP-complete. Parent comment
for (int q2 = 1; q2 <= 256; q2 <<= 1) if (output * r1 * r2 * q1 * q2 == input * f1 * f2)
n2 = input * f1 * f2; d2 = output * r1 * r2 * q1; q2 = n2/d2; if (__builtin_popcount(q2) == 1 && q2 * d2 == n2) {
http://en.wikipedia.org/wiki/Hamming_weight
There are no comments on this comment yet.
http://en.wikipedia.org/wiki/Hamming_weight