33c165552c
lcm_range used to incorrectly terminate on value of 1. Instead, it should terminate on 0 since any further elements of the range no longer affect the result of the function. Also, added tests for the gcd_range and lcm_range functions verifying that they terminate their loops at the correct points. |
||
---|---|---|
.. | ||
boost |