]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/multiprecision/test/test_arithmetic_cpp_bin_float_4.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / multiprecision / test / test_arithmetic_cpp_bin_float_4.cpp
1 ///////////////////////////////////////////////////////////////
2 // Copyright 2012 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 #if defined(__GNUC__) && defined(_WIN32)
7 //
8 // Without this, our object files get to big!
9 //
10 #define SLOW_COMPILER
11 #endif
12
13 #include <boost/multiprecision/cpp_bin_float.hpp>
14
15 #include "libs/multiprecision/test/test_arithmetic.hpp"
16
17 using namespace boost::multiprecision;
18
19 typedef number<cpp_bin_float<500>, et_on> cpp_bin_float_500_et_s;
20
21 template <>
22 struct related_type<cpp_bin_float_500_et_s>
23 {
24 typedef number<cpp_bin_float<500, digit_base_10, std::allocator<char> >, et_on> type;
25 };
26
27 int main()
28 {
29 test<cpp_bin_float_500_et_s>();
30 return boost::report_errors();
31 }