Files
multiprecision/test/test_arithmetic_dbg_adptr1.cpp
jzmaddock 8d281cc47f Apply "Assignment Preserves Precision of Source".
APPoS for short, throughout the library including in mixed precision arithmetic which should now always promote to the highest precision of any of the arguments.
2018-09-06 20:37:56 +01:00

22 lines
634 B
C++

///////////////////////////////////////////////////////////////
// Copyright 2012 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
#ifdef _MSC_VER
# define _SCL_SECURE_NO_WARNINGS
#endif
#define NO_MIXED_OPS
#include <boost/multiprecision/debug_adaptor.hpp>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include "test_arithmetic.hpp"
int main()
{
test<boost::multiprecision::number<boost::multiprecision::debug_adaptor<boost::multiprecision::cpp_dec_float<50> > > >();
return boost::report_errors();
}