News for hackers. Stuff that matters.
Re:FizzBuzz without multiplication or division by krallja on Monday May 02, 2011 @11:11AM (#2506508)
Whoops, I wrote that far too late last night. 15&15 = 15, so of course it wouldn't work :)

A 2,8-fizzbuzz would only need 8 items in the circular array since the least common multiple of 2 and 8 is 8:

    ix = ix & 8;

There are no comments on this comment yet.