I have a problem where some additional bits are being set in a number:
void print2_helper(int x) { int isodd = x%2 != 0; x /= 2; if (x) print2_helper(x)