test_1F0.cpp 792 B

1234567891011121314151617181920212223242526272829
  1. // (C) Copyright John Maddock 2006.
  2. // Use, modification and distribution are subject to the
  3. // Boost 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 "test_1F0.hpp"
  6. #include <boost/multiprecision/cpp_bin_float.hpp>
  7. #include <boost/multiprecision/cpp_dec_float.hpp>
  8. BOOST_AUTO_TEST_CASE( test_main )
  9. {
  10. #ifndef BOOST_MATH_BUGGY_LARGE_FLOAT_CONSTANTS
  11. test_spots(0.0F);
  12. #endif
  13. test_spots(0.0);
  14. #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
  15. test_spots(0.0L);
  16. #ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
  17. test_spots(boost::math::concepts::real_concept(0.1));
  18. #endif
  19. #endif
  20. test_spots(boost::multiprecision::cpp_bin_float_quad());
  21. test_spots(boost::multiprecision::cpp_dec_float_50());
  22. }