std::experimental::lcm
Min standard notice:
Header: <experimental/numeric>
Computes the least common multiple of the integers m and n.
# Declarations
template< class M, class N >
constexpr std::common_type_t<M, N> lcm( M m, N n );
(library fundamentals TS v2)
# Parameters
m, n: integer values
# Return value
If either m or n is zero, returns zero. Otherwise, return the least common multiple of |m| and |n|.