mirror of
https://github.com/boostorg/math.git
synced 2026-02-23 03:42:20 +00:00
Added new optimisation config options (still need documenting). Tidied up use of instrumentation code so they all use BOOST_MATH_INSTRUMENT now. Various tweaks to inverse incomplete beta and gamma to reduce number of iterations. Changed incomplete gamma and beta to calculate derivative at the same time as the function (performance optimisation for inverses). Fixed MinGW failures. Refactored and extended rational / polynomial test cases. [SVN r4172]
157 lines
5.4 KiB
Plaintext
157 lines
5.4 KiB
Plaintext
|
|
# bring in the rules for testing
|
|
import testing ;
|
|
|
|
project
|
|
: requirements
|
|
<toolset>gcc:<cxxflags>-Wno-missing-braces
|
|
<toolset>darwin:<cxxflags>-Wno-missing-braces
|
|
<toolset>acc:<cxxflags>+W2068,2461,2236,4070
|
|
<include>../../..
|
|
<source>/boost/regex//boost_regex
|
|
<link>shared:<define>BOOST_REGEX_DYN_LINK=1
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
;
|
|
|
|
run hypot_test.cpp ;
|
|
run log1p_expm1_test.cpp ;
|
|
run powm1_sqrtp1m1_test.cpp ;
|
|
run special_functions_test.cpp /boost/unit_test//boost_unit_test_framework/<link>static ;
|
|
run test_bernoulli.cpp ;
|
|
run test_constants.cpp ;
|
|
run test_beta.cpp ;
|
|
run test_beta_dist.cpp ;
|
|
run test_binomial.cpp ;
|
|
run test_binomial_coeff.cpp ;
|
|
run test_carlson.cpp ;
|
|
run test_cauchy.cpp ;
|
|
run test_cbrt.cpp ;
|
|
run test_chi_squared.cpp ;
|
|
run test_classify.cpp ;
|
|
run test_digamma.cpp ;
|
|
run test_dist_overloads.cpp ;
|
|
run test_ellint_1.cpp ;
|
|
run test_ellint_2.cpp ;
|
|
run test_ellint_3.cpp ;
|
|
run test_erf.cpp ;
|
|
run test_error_handling.cpp ;
|
|
run test_exponential_dist.cpp ;
|
|
run test_extreme_value.cpp ;
|
|
run test_factorials.cpp ;
|
|
run test_fisher_f.cpp ;
|
|
run test_gamma.cpp ;
|
|
run test_gamma_dist.cpp ;
|
|
run test_hermite.cpp ;
|
|
run test_ibeta.cpp ;
|
|
run test_ibeta_inv.cpp ;
|
|
run test_ibeta_inv_ab.cpp ;
|
|
run test_igamma.cpp ;
|
|
run test_igamma_inv.cpp ;
|
|
run test_igamma_inva.cpp ;
|
|
run test_instantiate1.cpp test_instantiate2.cpp ;
|
|
run test_laguerre.cpp ;
|
|
run test_legendre.cpp ;
|
|
run test_lognormal.cpp ;
|
|
run test_minima.cpp ;
|
|
run test_negative_binomial.cpp ;
|
|
run test_normal.cpp ;
|
|
run test_poisson.cpp ;
|
|
run test_rayleigh.cpp ;
|
|
run test_rationals.cpp test_rational_float.cpp test_rational_double.cpp test_rational_ldouble.cpp ;
|
|
run test_remez.cpp ;
|
|
run test_roots.cpp ;
|
|
run test_spherical_harmonic.cpp ;
|
|
run test_students_t.cpp ;
|
|
run test_tgamma_ratio.cpp ;
|
|
run test_toms748_solve.cpp ;
|
|
run test_triangular.cpp ;
|
|
run test_uniform.cpp ;
|
|
run test_weibull.cpp ;
|
|
|
|
run test_bessel_j.cpp ;
|
|
run test_bessel_y.cpp ;
|
|
run test_bessel_i.cpp ;
|
|
run test_bessel_k.cpp ;
|
|
|
|
compile compile_test/dist_bernoulli_incl_test.cpp ;
|
|
compile compile_test/dist_beta_incl_test.cpp ;
|
|
compile compile_test/dist_binomial_incl_test.cpp ;
|
|
compile compile_test/dist_cauchy_incl_test.cpp ;
|
|
compile compile_test/dist_chi_squared_incl_test.cpp ;
|
|
compile compile_test/dist_complement_incl_test.cpp ;
|
|
compile compile_test/dist_exponential_incl_test.cpp ;
|
|
compile compile_test/dist_extreme_value_incl_test.cpp ;
|
|
compile compile_test/dist_fisher_f_incl_test.cpp ;
|
|
compile compile_test/dist_gamma_incl_test.cpp ;
|
|
compile compile_test/dist_lognormal_incl_test.cpp ;
|
|
compile compile_test/dist_negative_binomial_incl_test.cpp ;
|
|
compile compile_test/dist_normal_incl_test.cpp ;
|
|
compile compile_test/dist_poisson_incl_test.cpp ;
|
|
compile compile_test/dist_students_t_incl_test.cpp ;
|
|
compile compile_test/dist_triangular_incl_test.cpp ;
|
|
compile compile_test/dist_uniform_incl_test.cpp ;
|
|
compile compile_test/dist_weibull_incl_test.cpp ;
|
|
compile compile_test/distribution_concept_check.cpp ;
|
|
compile compile_test/sf_beta_incl_test.cpp ;
|
|
compile compile_test/sf_bessel_incl_test.cpp ;
|
|
compile compile_test/sf_binomial_incl_test.cpp ;
|
|
compile compile_test/sf_cbrt_incl_test.cpp ;
|
|
compile compile_test/sf_cos_pi_incl_test.cpp ;
|
|
compile compile_test/sf_digamma_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_1_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_2_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_3_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_rc_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_rd_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_rf_incl_test.cpp ;
|
|
compile compile_test/sf_ellint_rj_incl_test.cpp ;
|
|
compile compile_test/sf_erf_incl_test.cpp ;
|
|
compile compile_test/sf_expm1_incl_test.cpp ;
|
|
compile compile_test/sf_factorials_incl_test.cpp ;
|
|
compile compile_test/sf_fpclassify_incl_test.cpp ;
|
|
compile compile_test/sf_gamma_incl_test.cpp ;
|
|
compile compile_test/sf_hermite_incl_test.cpp ;
|
|
compile compile_test/sf_hypot_incl_test.cpp ;
|
|
compile compile_test/sf_laguerre_incl_test.cpp ;
|
|
compile compile_test/sf_lanczos_incl_test.cpp ;
|
|
compile compile_test/sf_legendre_incl_test.cpp ;
|
|
compile compile_test/sf_log1p_incl_test.cpp ;
|
|
compile compile_test/sf_math_fwd_incl_test.cpp ;
|
|
compile compile_test/sf_powm1_incl_test.cpp ;
|
|
compile compile_test/sf_sign_incl_test.cpp ;
|
|
compile compile_test/sf_sin_pi_incl_test.cpp ;
|
|
compile compile_test/sf_sinc_incl_test.cpp ;
|
|
compile compile_test/sf_sinhc_incl_test.cpp ;
|
|
compile compile_test/sf_spherical_harmonic_incl_test.cpp ;
|
|
compile compile_test/sf_sqrt1pm1_incl_test.cpp ;
|
|
compile compile_test/std_real_concept_check.cpp ;
|
|
compile compile_test/tools_config_inc_test.cpp ;
|
|
compile compile_test/tools_error_handling_inc_test.cpp ;
|
|
compile compile_test/tools_evaluation_type_inc_test.cpp ;
|
|
compile compile_test/tools_fraction_inc_test.cpp ;
|
|
compile compile_test/tools_minima_inc_test.cpp ;
|
|
compile compile_test/tools_polynomial_inc_test.cpp ;
|
|
compile compile_test/tools_precision_inc_test.cpp ;
|
|
compile compile_test/tools_rational_inc_test.cpp ;
|
|
compile compile_test/tools_real_cast_inc_test.cpp ;
|
|
compile compile_test/tools_remez_inc_test.cpp ;
|
|
compile compile_test/tools_roots_inc_test.cpp ;
|
|
compile compile_test/tools_series_inc_test.cpp ;
|
|
compile compile_test/tools_solve_inc_test.cpp ;
|
|
compile compile_test/tools_stats_inc_test.cpp ;
|
|
compile compile_test/tools_test_data_inc_test.cpp ;
|
|
compile compile_test/tools_test_inc_test.cpp ;
|
|
compile compile_test/tools_toms748_solve_inc_test.cpp ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|