Chris@16: Chris@16: // Copyright (c) 2011 John Maddock Chris@16: // Use, modification and distribution are subject to the Chris@16: // Boost Software License, Version 1.0. (See accompanying file Chris@16: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_MP_BIG_LANCZOS Chris@16: #define BOOST_MP_BIG_LANCZOS Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost{ namespace math{ Chris@16: Chris@16: namespace lanczos{ Chris@16: Chris@16: template Chris@16: struct lanczos; Chris@16: Chris@16: template Chris@16: struct lanczos, Policy> Chris@16: { Chris@16: typedef typename boost::math::policies::precision, Policy>::type precision_type; Chris@16: typedef typename mpl::if_c< Chris@16: precision_type::value <= 73, Chris@16: lanczos13UDT, Chris@16: typename mpl::if_c< Chris@16: precision_type::value <= 122, Chris@16: lanczos22UDT, Chris@101: undefined_lanczos Chris@16: >::type Chris@16: >::type type; Chris@16: }; Chris@16: Chris@16: } // namespace lanczos Chris@16: Chris@16: }} // namespaces Chris@16: Chris@16: #endif Chris@101: