]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
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 | #include <boost/multiprecision/cpp_bin_float.hpp> | |
7 | ||
8 | #include "libs/multiprecision/test/test_arithmetic.hpp" | |
9 | ||
10 | using namespace boost::multiprecision; | |
11 | ||
12 | typedef number<cpp_bin_float<500>, et_off> cpp_bin_float_500_et_s; | |
13 | ||
14 | template <> | |
15 | struct related_type<cpp_bin_float_500_et_s> | |
16 | { | |
17 | typedef number<cpp_bin_float<500, digit_base_10, std::allocator<char> >, et_off> type; | |
18 | }; | |
19 | ||
20 | int main() | |
21 | { | |
22 | test<cpp_bin_float_500_et_s>(); | |
23 | return boost::report_errors(); | |
24 | } |