I wrote: > > Don't forget to test for the numerator becoming zero though, since in > that case the denominator must be set to 1. Ah, except of course that won't happen, because the numerator and denominator won't share a common factor, so no need to watch for remainder 0.