by krallja · 15y ago · 0 comments
if(ix==15) ix = 0;
Should I change this to say ix = ix & 15;
Or is that too specific to 3,5-Fizzbuzz?It would work with a 2,8-fizzbuzz, though.
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;