24 lines · plain
1// Boost common_factor.hpp header file -------------------------------------//2 3// (C) Copyright Daryle Walker 2001-2002.4// Distributed under the Boost Software License, Version 1.0. (See5// accompanying file LICENSE_1_0.txt or copy at6// http://www.boost.org/LICENSE_1_0.txt)7 8// See http://www.boost.org for updates, documentation, and revision history.9 10#ifndef BOOST_MATH_COMMON_FACTOR_HPP11#define BOOST_MATH_COMMON_FACTOR_HPP12 13#ifndef BOOST_MATH_STANDALONE14#include <boost/math/common_factor_ct.hpp>15#include <boost/math/common_factor_rt.hpp>16#include <boost/math/tools/header_deprecated.hpp>17 18BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor.hpp>");19#else20#error Common factor is not available in standalone mode because it requires boost.integer.21#endif // BOOST_MATH_STANDALONE22 23#endif // BOOST_MATH_COMMON_FACTOR_HPP24