1 // (C) Copyright John Maddock 2017.
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_MATH_COMMON_FACTOR_RT_HPP
8 #define BOOST_MATH_COMMON_FACTOR_RT_HPP
10 #ifndef BOOST_MATH_STANDALONE
11 #include <boost/integer/common_factor_rt.hpp>
12 #include <boost/math/tools/header_deprecated.hpp>
14 BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_rt.hpp>");
18 using boost::integer::gcd;
19 using boost::integer::lcm;
20 using boost::integer::gcd_range;
21 using boost::integer::lcm_range;
22 using boost::integer::gcd_evaluator;
23 using boost::integer::lcm_evaluator;
27 #error Common factor is not available in standalone mode because it requires boost.integer.
28 #endif // BOOST_MATH_STANDALONE
30 #endif // BOOST_MATH_COMMON_FACTOR_RT_HPP