cpp_int_negate_1.cpp 404 B

1234567891011121314
  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. using namespace boost::multiprecision;
  7. int main()
  8. {
  9. checked_uint256_t i;
  10. i = -i;
  11. }