diff options
Diffstat (limited to 'src/boost/libs/multiprecision/performance/sf_performance_files/sf_performance_basic_9.cpp')
-rw-r--r-- | src/boost/libs/multiprecision/performance/sf_performance_files/sf_performance_basic_9.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/boost/libs/multiprecision/performance/sf_performance_files/sf_performance_basic_9.cpp b/src/boost/libs/multiprecision/performance/sf_performance_files/sf_performance_basic_9.cpp new file mode 100644 index 000000000..9c5ab6bf1 --- /dev/null +++ b/src/boost/libs/multiprecision/performance/sf_performance_files/sf_performance_basic_9.cpp @@ -0,0 +1,21 @@ +/////////////////////////////////////////////////////////////// +// Copyright 2011 John Maddock. Distributed under the Boost +// Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt + +#include "../sf_performance.hpp" + +void basic_tests_9() +{ +#ifdef TEST_FLOAT + time_proc("Bessel Functions (16 digit precision)", "double", test_bessel<double>); + time_proc("Bessel Functions (16 digit precision)", "real_concept", test_bessel<boost::math::concepts::real_concept>); + time_proc("Bessel Functions (16 digit precision)", "arithmetic_backend<double>", test_bessel<number<arithmetic_backend<double>, et_on> >); + time_proc("Bessel Functions (16 digit precision)", "arithmetic_backend<double> - no expression templates", test_bessel<number<arithmetic_backend<double>, et_off> >); + + time_proc("Non-central T (16 digit precision)", "double", test_nct<double>); + time_proc("Non-central T (16 digit precision)", "real_concept", test_nct<boost::math::concepts::real_concept>); + time_proc("Non-central T (16 digit precision)", "arithmetic_backend<double>", test_nct<number<arithmetic_backend<double>, et_on> >); + time_proc("Non-central T (16 digit precision)", "arithmetic_backend<double> - no expression templates", test_nct<number<arithmetic_backend<double>, et_off> >); +#endif +} |