]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/multiprecision/test/standalone_test_arithmetic_cpp_dec_float.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / multiprecision / test / standalone_test_arithmetic_cpp_dec_float.cpp
CommitLineData
1e59de90
TL
1///////////////////////////////////////////////////////////////
2// Copyright 2012 - 2021 John Maddock.
3// Copyright 2021 Matt Borland. Distributed under the Boost
4// Software License, Version 1.0. (See accompanying file
5// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
6
7#define BOOST_MP_STANDALONE
8
9#include "test_arithmetic.hpp"
10#include <boost/multiprecision/cpp_dec_float.hpp>
11
12template <unsigned D>
13struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<D>>>
14{
15 using type = boost::multiprecision::number<boost::multiprecision::cpp_dec_float<D / 2>>;
16};
17
18int main()
19{
20 test<boost::multiprecision::cpp_dec_float_50>();
21 return boost::report_errors();
22}