1 // (C) Copyright John Maddock 2006.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include "test_pFq.hpp"
8 #include <boost/multiprecision/cpp_bin_float.hpp>
10 #if defined(_MSC_FULL_VER) && (_MSC_FULL_VER < 190023026)
12 // Early msvc versions have <initializer_list> but can't handle
13 // argument deduction of actual initializer_lists :(
18 BOOST_AUTO_TEST_CASE( test_main )
21 #if !defined(TEST) || (TEST == 2)
22 test_spots(0.0F, "float");
24 #if !defined(TEST) || (TEST == 3)
25 test_spots(0.0, "double");
27 #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
28 #if (!defined(TEST) || (TEST == 4)) && (DBL_MAX_EXP != LDBL_MAX_EXP)
29 test_spots(0.0L, "long double");
31 #ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
32 #if !defined(TEST) || (TEST == 5)
33 test_spots(boost::math::concepts::real_concept(0.1), "real_concept");
37 #if !defined(TEST) || (TEST == 6)
38 test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
40 #if !defined(TEST) || (TEST == 7)
41 typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<40> > dec_40;
42 test_spots(dec_40(), "dec_40");