Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:43

0001 //  (C) Copyright John Maddock 2017.
0002 
0003 //  Use, modification and distribution are subject to the
0004 //  Boost Software License, Version 1.0. (See accompanying file
0005 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_MATH_COMMON_FACTOR_RT_HPP
0008 #define BOOST_MATH_COMMON_FACTOR_RT_HPP
0009 
0010 #ifndef BOOST_MATH_STANDALONE
0011 #include <boost/integer/common_factor_rt.hpp>
0012 #include <boost/math/tools/header_deprecated.hpp>
0013 
0014 BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_rt.hpp>");
0015 
0016 namespace boost {
0017    namespace math {
0018       using boost::integer::gcd;
0019       using boost::integer::lcm;
0020       using boost::integer::gcd_range;
0021       using boost::integer::lcm_range;
0022       using boost::integer::gcd_evaluator;
0023       using boost::integer::lcm_evaluator;
0024    }
0025 }
0026 #else
0027 #error Common factor is not available in standalone mode because it requires boost.integer.
0028 #endif // BOOST_MATH_STANDALONE
0029 
0030 #endif  // BOOST_MATH_COMMON_FACTOR_RT_HPP