test_arithmetic_mpz.cpp 527 B

12345678910111213141516171819
  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. #ifdef _MSC_VER
  6. #define _SCL_SECURE_NO_WARNINGS
  7. #endif
  8. #include <boost/multiprecision/gmp.hpp>
  9. #include <boost/multiprecision/rational_adaptor.hpp>
  10. #include "test_arithmetic.hpp"
  11. int main()
  12. {
  13. test<boost::multiprecision::mpz_int>();
  14. return boost::report_errors();
  15. }