2 // Copyright (c) 2011 John Maddock
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_MP_BIG_LANCZOS
8 #define BOOST_MP_BIG_LANCZOS
10 #include <boost/math/bindings/detail/big_lanczos.hpp>
12 namespace boost{ namespace math{
16 template <class T, class Policy>
19 template<class Backend, boost::multiprecision::expression_template_option ExpressionTemplates, class Policy>
20 struct lanczos<multiprecision::number<Backend, ExpressionTemplates>, Policy>
22 typedef typename boost::math::policies::precision<multiprecision::number<Backend, ExpressionTemplates>, Policy>::type precision_type;
23 typedef typename mpl::if_c<
24 precision_type::value && (precision_type::value <= 73),
27 precision_type::value&& (precision_type::value <= 122),
34 } // namespace lanczos