tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
lcm.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename M, typename N>
requires (is_integral_v<M> and not is_same_v<M, bool> and is_integral_v<N> and not is_same_v<N, bool>)
constexpr auto lcm (M m, N n) -> common_type_t< M, N >
 Computes the least common multiple of the integers m and n.