2 ms·
The really heavyweight use of div/mod is to produce the base-10 printed decimal numbers, not in the main control loop. The record-beating versions all do somet
by jiggawatts 5y ago
The really heavyweight use of div/mod is to produce the base-10 printed decimal numbers, not in the main control loop.
The record-beating versions all do something clever to optimise the printing of the numbers between the "Fizz" and "Buzz" strings.