MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / gcd

Function gcd

extern/boost/boost/rational.hpp:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99#if BOOST_CONTROL_RATIONAL_HAS_GCD
100template <typename IntType>
101IntType gcd(IntType n, IntType m)
102{
103 // Defer to the version in Boost.Integer
104 return integer::gcd( n, m );
105}
106
107template <typename IntType>
108IntType lcm(IntType n, IntType m)

Callers 7

type operator*=Method · 0.70
type operator/=Method · 0.70
rational.hppFile · 0.70
test_invariantMethod · 0.70
normalizeMethod · 0.70
operator()Method · 0.70
operator()Method · 0.70

Calls

no outgoing calls

Tested by 1

test_invariantMethod · 0.56