test_eigen_interop_cpp_int.cpp 548 B

1234567891011121314151617
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Copyright 2018 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 "eigen.hpp"
  7. int main()
  8. {
  9. using namespace boost::multiprecision;
  10. test_integer_type<int>();
  11. test_integer_type<boost::multiprecision::int256_t>();
  12. test_integer_type<boost::multiprecision::cpp_int>();
  13. return 0;
  14. }