1 /////////////////////////////////////////////////////////////// 2 // Copyright 2011 John Maddock. Distributed under the Boost 3 // Software License, Version 1.0. (See accompanying file 4 // LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt 5 6 #include "sf_performance.hpp" 7 nct_tests_6()8void nct_tests_6() 9 { 10 #ifdef TEST_MPREAL 11 mpfr::mpreal::set_default_prec(100 * 1000L / 301L); 12 #endif 13 #ifdef TEST_CPP_DEC_FLOAT 14 time_proc("cpp_dec_float_100", test_nct<cpp_dec_float_100>); 15 #endif 16 #ifdef TEST_CPP_BIN_FLOAT 17 time_proc("cpp_bin_float_100", test_nct<cpp_bin_float_100>); 18 #endif 19 #ifdef TEST_MPFR_CLASS 20 time_proc("mpfr_class", test_nct<mpfr_class>); 21 #endif 22 #ifdef TEST_MPREAL 23 time_proc("mpfr::mpreal", test_nct<mpfr::mpreal>); 24 #endif 25 } 26