mirror of
https://github.com/boostorg/integer.git
synced 2025-11-03 01:31:37 +01: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.