Back to home page

EIC code displayed by LXR

 
 

    


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

0001 //  Boost common_factor_ct.hpp header file  ----------------------------------//
0002 
0003 //  (C) Copyright John Maddock 2017.
0004 //  Distributed under the Boost Software License, Version 1.0. (See
0005 //  accompanying file LICENSE_1_0.txt or copy at
0006 //  http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 //  See http://www.boost.org for updates, documentation, and revision history.
0009 
0010 #ifndef BOOST_MATH_COMMON_FACTOR_CT_HPP
0011 #define BOOST_MATH_COMMON_FACTOR_CT_HPP
0012 
0013 #ifndef BOOST_MATH_STANDALONE
0014 #include <boost/integer/common_factor_ct.hpp>
0015 #include <boost/math/tools/header_deprecated.hpp>
0016 
0017 BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_ct.hpp>");
0018 
0019 namespace boost
0020 {
0021 namespace math
0022 {
0023 
0024    using boost::integer::static_gcd;
0025    using boost::integer::static_lcm;
0026    using boost::integer::static_gcd_type;
0027 
0028 }  // namespace math
0029 }  // namespace boost
0030 #else
0031 #error Common factor is not available in standalone mode because it requires boost.integer.
0032 #endif // BOOST_MATH_STANDALONE
0033 
0034 #endif  // BOOST_MATH_COMMON_FACTOR_CT_HPP