mirror of
https://github.com/boostorg/math.git
synced 2026-01-27 19:12:08 +00:00
* Fix common_factor code so it works with expression-template enabled types, and added new tests. * Cleaned up using declarations. * Fixed cbrt conceptual requirements. * Fixed round for negative values. * Changed all configuration code to use the new Boost.Build configuration support. * Fixed HP aCC version numbers in src files. * Regenerated docs. [SVN r62124]
23 lines
919 B
C++
23 lines
919 B
C++
|
|
// (C) Copyright John Maddock 2010.
|
|
// Use, modification and distribution are subject to the
|
|
// Boost Software License, Version 1.0. (See accompanying file
|
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <gmpxx.h>
|
|
#include <boost/math/common_factor.hpp>
|
|
|
|
template class boost::math::gcd_evaluator<mpz_class>;
|
|
template class boost::math::lcm_evaluator<mpz_class>;
|
|
template mpz_class boost::math::gcd(const mpz_class&, const mpz_class&);
|
|
template mpz_class boost::math::lcm(const mpz_class&, const mpz_class&);
|
|
|
|
template mpz_class boost::math::detail::gcd_euclidean(const mpz_class, const mpz_class);
|
|
template mpz_class boost::math::detail::gcd_integer(const mpz_class&, const mpz_class&);
|
|
template mpz_class boost::math::detail::lcm_euclidean(const mpz_class&, const mpz_class&);
|
|
template mpz_class boost::math::detail::lcm_integer(const mpz_class&, const mpz_class&);
|
|
|
|
int main()
|
|
{
|
|
}
|