mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-19 14:32:35 +00:00
Multiprecision: split up test_sf_import_c99.cpp some more to avoid over-large object files.
This commit is contained in:
@@ -290,6 +290,9 @@ run test_sf_import_c99.cpp : : : <define>TEST_CPP_DEC_FLOAT_3 : test_sf_import_c
|
||||
run test_sf_import_c99.cpp : : : <define>TEST_CPP_DEC_FLOAT_4 : test_sf_import_c99_cpp_dec_float_4 ;
|
||||
run test_sf_import_c99.cpp : : : <define>TEST_CPP_DEC_FLOAT_5 : test_sf_import_c99_cpp_dec_float_5 ;
|
||||
|
||||
run test_sf_import_c99.cpp : : : <define>TEST_CPP_BIN_FLOAT_2 : test_sf_import_c99_cpp_bin_float_2 ;
|
||||
run test_sf_import_c99.cpp : : : <define>TEST_CPP_BIN_FLOAT_2 : test_sf_import_c99_cpp_bin_float_3 ;
|
||||
|
||||
run test_gmp_conversions.cpp gmp no_eh_support
|
||||
: # command line
|
||||
: # input files
|
||||
@@ -1260,6 +1263,7 @@ alias functions_and_limits :
|
||||
test_round_cpp_bin_float
|
||||
test_fpclassify_cpp_bin_float
|
||||
test_sf_import_c99_cpp_bin_float
|
||||
test_sf_import_c99_cpp_bin_float_2
|
||||
|
||||
test_exp_float128
|
||||
test_log_float128
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#if !defined(TEST_MPF_50) && !defined(TEST_MPF) && !defined(TEST_BACKEND) && !defined(TEST_CPP_DEC_FLOAT)\
|
||||
&& !defined(TEST_MPFR) && !defined(TEST_MPFR_50) && !defined(TEST_MPFI_50) && !defined(TEST_FLOAT128)\
|
||||
&& !defined(TEST_CPP_BIN_FLOAT) && !defined(TEST_CPP_DEC_FLOAT_2) && !defined(TEST_CPP_DEC_FLOAT_3)\
|
||||
&& !defined(TEST_CPP_DEC_FLOAT_4) && !defined(TEST_CPP_DEC_FLOAT_5)
|
||||
&& !defined(TEST_CPP_DEC_FLOAT_4) && !defined(TEST_CPP_DEC_FLOAT_5) && !defined(TEST_CPP_BIN_FLOAT_2) && !defined(TEST_CPP_BIN_FLOAT_3)
|
||||
# define TEST_MPF_50
|
||||
# define TEST_MPFR_50
|
||||
# define TEST_MPFI_50
|
||||
@@ -21,6 +21,8 @@
|
||||
# define TEST_CPP_DEC_FLOAT_5
|
||||
# define TEST_FLOAT128
|
||||
# define TEST_CPP_BIN_FLOAT
|
||||
# define TEST_CPP_BIN_FLOAT_2
|
||||
# define TEST_CPP_BIN_FLOAT_3
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma message("CAUTION!!: No backend type specified so testing everything.... this will take some time!!")
|
||||
@@ -43,7 +45,7 @@
|
||||
#if defined(TEST_CPP_DEC_FLOAT) || defined(TEST_CPP_DEC_FLOAT_2) || defined(TEST_CPP_DEC_FLOAT_3) || defined(TEST_CPP_DEC_FLOAT_4) || defined(TEST_CPP_DEC_FLOAT_5)
|
||||
#include <boost/multiprecision/cpp_dec_float.hpp>
|
||||
#endif
|
||||
#ifdef TEST_CPP_BIN_FLOAT
|
||||
#if defined(TEST_CPP_BIN_FLOAT) || defined(TEST_CPP_BIN_FLOAT_2) || defined(TEST_CPP_BIN_FLOAT_3)
|
||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||
#include <boost/multiprecision/debug_adaptor.hpp>
|
||||
#endif
|
||||
@@ -2055,7 +2057,7 @@ int main()
|
||||
#endif
|
||||
#ifdef TEST_CPP_DEC_FLOAT
|
||||
test<boost::multiprecision::cpp_dec_float_50>();
|
||||
#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
#if !(defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
test<boost::multiprecision::cpp_dec_float_100>();
|
||||
#endif
|
||||
test_c99_appendix_F<boost::multiprecision::cpp_dec_float_50>();
|
||||
@@ -2063,32 +2065,36 @@ int main()
|
||||
#ifdef TEST_CPP_DEC_FLOAT_2
|
||||
// Some "peculiar" digit counts which stress our code:
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<65> > >();
|
||||
#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
#if !(defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<64> > >();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef TEST_CPP_DEC_FLOAT_3
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<63> > >();
|
||||
#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
#if !(defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<62> > >();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef TEST_CPP_DEC_FLOAT_4
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<61, long long> > >();
|
||||
#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
#if !(defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<60, long long> > >();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef TEST_CPP_DEC_FLOAT_5
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<59, long long, std::allocator<char> > > >();
|
||||
#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
#if !(defined(__GNUC__) && defined(_WIN32)) // Object file too large otherwise
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_dec_float<58, long long, std::allocator<char> > > >();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef TEST_CPP_BIN_FLOAT
|
||||
test<boost::multiprecision::cpp_bin_float_50>();
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<100>, boost::multiprecision::et_on> >();
|
||||
#endif
|
||||
#ifdef TEST_CPP_BIN_FLOAT_2
|
||||
test<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<35, boost::multiprecision::digit_base_10, std::allocator<char>, boost::long_long_type> > >();
|
||||
#endif
|
||||
#ifdef TEST_CPP_BIN_FLOAT_3
|
||||
test_c99_appendix_F<boost::multiprecision::cpp_bin_float_50>();
|
||||
test_c99_appendix_F<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<100>, boost::multiprecision::et_on> >();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user