mirror of
https://github.com/boostorg/integer.git
synced 2026-01-19 16:22:19 +00:00
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.