Home
last modified time | relevance | path

Searched defs:gcd_traits (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/boost/integer/
Dcommon_factor_rt.hpp163 struct gcd_traits : public gcd_traits_defaults<T> {}; struct
173 struct gcd_traits<unsigned long> : public gcd_traits_defaults<unsigned long> struct
175 BOOST_FORCEINLINE static unsigned find_lsb(unsigned long val) BOOST_NOEXCEPT in find_lsb()
181 BOOST_FORCEINLINE static unsigned make_odd(unsigned long& val) BOOST_NOEXCEPT in make_odd()
192 struct gcd_traits<unsigned __int64> : public gcd_traits_defaults<unsigned __int64> struct
194 BOOST_FORCEINLINE static unsigned find_lsb(unsigned __int64 mask) BOOST_NOEXCEPT in find_lsb()
200 BOOST_FORCEINLINE static unsigned make_odd(unsigned __int64& val) BOOST_NOEXCEPT in make_odd()
213 template <> struct gcd_traits<long> : public gcd_traits_defaults<long> struct
214 …PT{ unsigned result = gcd_traits<unsigned long>::find_lsb(val); val >>= result; return result; } }; in make_odd()
215 template <> struct gcd_traits<unsigned int> : public gcd_traits_defaults<unsigned int> struct
[all …]
/third_party/boost/boost/math/tools/
Dpolynomial_gcd.hpp29 struct gcd_traits<boost::math::tools::polynomial<T> > struct
31 …oost::math::tools::polynomial<T>& abs(const boost::math::tools::polynomial<T>& val) { return val; } in abs()
33 static const method_type method = method_euclid;