test_arithmetic_backend_concept.cpp 811 B

1234567891011121314151617181920212223
  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/concepts/mp_number_archetypes.hpp>
  9. #include "test_arithmetic.hpp"
  10. int main()
  11. {
  12. //
  13. // Orininal Mingw32 has issues with long double that break this, mingw64 is fine (and supported):
  14. //
  15. #if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__MINGW32__) && !defined(_WIN64) && BOOST_WORKAROUND(BOOST_GCC, <= 50300))
  16. test<boost::multiprecision::number<boost::multiprecision::concepts::number_backend_float_architype> >();
  17. #endif
  18. return boost::report_errors();
  19. }