libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
gcd.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jmmcg
 Link with -lrt to include these functions.
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE::euclid
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE::binary
 

Functions

template<class V >
constexpr V jmmcg::LIBJMMCG_VER_NAMESPACE::euclid::gcd (const V x, const V y) noexcept(true) __attribute__((const))
 Euclid's Greatest Common Divisor Algorithm. More...
 
template<class V >
constexpr V jmmcg::LIBJMMCG_VER_NAMESPACE::binary::gcd (const V x, const V y) noexcept(true) __attribute__((const))
 Binary Greatest Common Divisor Algorithm. More...