]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/multiprecision/performance/sf_performance_nct3.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / performance / sf_performance_nct3.cpp
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
8 void nct_tests_3()
9 {
10 #ifdef TEST_MPREAL
11 mpfr::mpreal::set_default_prec(50 * 1000L / 301L);
12 #endif
13 #ifdef TEST_CPP_DEC_FLOAT
14 time_proc("cpp_dec_float_50", test_nct<cpp_dec_float_50>);
15 #endif
16 #ifdef TEST_CPP_BIN_FLOAT
17 time_proc("cpp_bin_float_50", test_nct<cpp_bin_float_50>, 3);
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 }