std::experimental::gcd
Min standard notice:
Header: <experimental/numeric>
Computes the greatest common divisor of the integers m and n.
# Declarations
template< class M, class N>
constexpr std::common_type_t<M, N> gcd( M m, N n );
(library fundamentals TS v2)
# Parameters
m, n: integer values
# Return value
If both m and n are zero, returns zero. Otherwise, returns the greatest common divisor of |m| and |n|.