in reply to Turning very larger numbers into an array of bits
I suppose I could precompute all of the bitmasks and throw them in an array to reference. Still seems like there should be an easier way though.