conv_fail_25.cpp 492 B

12345678910111213141516
  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 http://www.boost.org/LICENSE_1_0.txt)
  5. #include <boost/multiprecision/cpp_int.hpp>
  6. #include <boost/multiprecision/cpp_dec_float.hpp>
  7. using namespace boost::multiprecision;
  8. int main()
  9. {
  10. cpp_dec_float_50 a(2), b(3);
  11. cpp_int i(3);
  12. i %= a * b;
  13. }