|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49442 - in sandbox/math_toolkit/libs/math: build config src/tr1 test
From: john_at_[hidden]
Date: 2008-10-23 08:24:50
Author: johnmaddock
Date: 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
New Revision: 49442
URL: http://svn.boost.org/trac/boost/changeset/49442
Log:
Improve pch support.
Move configuration tests to their own directory so they're only run when required.
Added:
sandbox/math_toolkit/libs/math/config/
sandbox/math_toolkit/libs/math/config/Jamfile.v2 (contents, props changed)
- copied, changed from r49418, /sandbox/math_toolkit/libs/math/build/Jamfile.v2
sandbox/math_toolkit/libs/math/config/has_long_double_support.cpp (props changed)
- copied unchanged from r49389, /sandbox/math_toolkit/libs/math/build/has_long_double_support.cpp
sandbox/math_toolkit/libs/math/config/has_mpfr_class.cpp (props changed)
- copied unchanged from r49389, /sandbox/math_toolkit/libs/math/build/has_mpfr_class.cpp
sandbox/math_toolkit/libs/math/config/has_ntl_rr.cpp (props changed)
- copied unchanged from r49389, /sandbox/math_toolkit/libs/math/build/has_ntl_rr.cpp
sandbox/math_toolkit/libs/math/test/pch.hpp (contents, props changed)
Removed:
sandbox/math_toolkit/libs/math/build/has_long_double_support.cpp
sandbox/math_toolkit/libs/math/build/has_mpfr_class.cpp
sandbox/math_toolkit/libs/math/build/has_ntl_rr.cpp
Text files modified:
sandbox/math_toolkit/libs/math/build/Jamfile.v2 | 10 -
sandbox/math_toolkit/libs/math/config/Jamfile.v2 | 93 ----------------------
sandbox/math_toolkit/libs/math/src/tr1/pch.hpp | 2
sandbox/math_toolkit/libs/math/test/Jamfile.v2 | 165 ++++++++++++++++++++-------------------
sandbox/math_toolkit/libs/math/test/hypot_test.cpp | 2
sandbox/math_toolkit/libs/math/test/log1p_expm1_test.cpp | 2
sandbox/math_toolkit/libs/math/test/pow_test.cpp | 1
sandbox/math_toolkit/libs/math/test/powm1_sqrtp1m1_test.cpp | 2
sandbox/math_toolkit/libs/math/test/test_bessel_i.cpp | 2
sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp | 2
sandbox/math_toolkit/libs/math/test/test_bessel_k.cpp | 2
sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp | 2
sandbox/math_toolkit/libs/math/test/test_beta.cpp | 2
sandbox/math_toolkit/libs/math/test/test_binomial_coeff.cpp | 2
sandbox/math_toolkit/libs/math/test/test_carlson.cpp | 2
sandbox/math_toolkit/libs/math/test/test_cbrt.cpp | 2
sandbox/math_toolkit/libs/math/test/test_classify.cpp | 2
sandbox/math_toolkit/libs/math/test/test_constants.cpp | 2
sandbox/math_toolkit/libs/math/test/test_digamma.cpp | 2
sandbox/math_toolkit/libs/math/test/test_ellint_1.cpp | 2
sandbox/math_toolkit/libs/math/test/test_ellint_2.cpp | 2
sandbox/math_toolkit/libs/math/test/test_ellint_3.cpp | 2
sandbox/math_toolkit/libs/math/test/test_erf.cpp | 2
sandbox/math_toolkit/libs/math/test/test_expint.cpp | 2
sandbox/math_toolkit/libs/math/test/test_factorials.cpp | 2
sandbox/math_toolkit/libs/math/test/test_find_location.cpp | 2
sandbox/math_toolkit/libs/math/test/test_find_scale.cpp | 2
sandbox/math_toolkit/libs/math/test/test_gamma.cpp | 2
sandbox/math_toolkit/libs/math/test/test_gamma_dist.cpp | 2
sandbox/math_toolkit/libs/math/test/test_hermite.cpp | 2
sandbox/math_toolkit/libs/math/test/test_ibeta.cpp | 2
sandbox/math_toolkit/libs/math/test/test_ibeta_inv.cpp | 2
sandbox/math_toolkit/libs/math/test/test_ibeta_inv_ab.cpp | 2
sandbox/math_toolkit/libs/math/test/test_igamma.cpp | 2
sandbox/math_toolkit/libs/math/test/test_igamma_inv.cpp | 2
sandbox/math_toolkit/libs/math/test/test_igamma_inva.cpp | 2
sandbox/math_toolkit/libs/math/test/test_inv_hyp.cpp | 2
sandbox/math_toolkit/libs/math/test/test_laguerre.cpp | 2
sandbox/math_toolkit/libs/math/test/test_legendre.cpp | 2
sandbox/math_toolkit/libs/math/test/test_minima.cpp | 2
sandbox/math_toolkit/libs/math/test/test_nc_beta.cpp | 2
sandbox/math_toolkit/libs/math/test/test_nc_chi_squared.cpp | 2
sandbox/math_toolkit/libs/math/test/test_nc_f.cpp | 2
sandbox/math_toolkit/libs/math/test/test_nc_t.cpp | 2
sandbox/math_toolkit/libs/math/test/test_next.cpp | 2
sandbox/math_toolkit/libs/math/test/test_normal.cpp | 2
sandbox/math_toolkit/libs/math/test/test_remez.cpp | 2
sandbox/math_toolkit/libs/math/test/test_roots.cpp | 2
sandbox/math_toolkit/libs/math/test/test_round.cpp | 2
sandbox/math_toolkit/libs/math/test/test_spherical_harmonic.cpp | 2
sandbox/math_toolkit/libs/math/test/test_tgamma_ratio.cpp | 2
sandbox/math_toolkit/libs/math/test/test_toms748_solve.cpp | 2
sandbox/math_toolkit/libs/math/test/test_triangular.cpp | 2
sandbox/math_toolkit/libs/math/test/test_uniform.cpp | 2
sandbox/math_toolkit/libs/math/test/test_zeta.cpp | 2
55 files changed, 188 insertions(+), 183 deletions(-)
Modified: sandbox/math_toolkit/libs/math/build/Jamfile.v2
==============================================================================
--- sandbox/math_toolkit/libs/math/build/Jamfile.v2 (original)
+++ sandbox/math_toolkit/libs/math/build/Jamfile.v2 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -53,10 +53,6 @@
sph_neumann
;
-compile has_long_double_support.cpp ;
-compile has_mpfr_class.cpp ;
-compile has_ntl_rr.cpp ;
-
lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
@@ -73,7 +69,7 @@
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<include>../src/tr1
- <dependency>has_long_double_support
+ <dependency>../config//has_long_double_support
;
lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
@@ -91,7 +87,7 @@
lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <dependency>has_long_double_support
+ <dependency>../config//has_long_double_support
<include>../src/tr1
;
@@ -103,3 +99,5 @@
+
+
Deleted: sandbox/math_toolkit/libs/math/build/has_long_double_support.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/build/has_long_double_support.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
+++ (empty file)
@@ -1,10 +0,0 @@
-// Copyright John Maddock 2008.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include <boost/math/tools/config.hpp>
-
-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
-#error "long double support is not supported by Boost.Math on this Plaform: the long double version of the TR1 library will not be built."
-#endif
Deleted: sandbox/math_toolkit/libs/math/build/has_mpfr_class.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/build/has_mpfr_class.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
+++ (empty file)
@@ -1,7 +0,0 @@
-// Copyright John Maddock 2008.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include <gmpfrxx.h>
-
Deleted: sandbox/math_toolkit/libs/math/build/has_ntl_rr.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/build/has_ntl_rr.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
+++ (empty file)
@@ -1,7 +0,0 @@
-// Copyright John Maddock 2008.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include <NTL/RR.h>
-
Copied: sandbox/math_toolkit/libs/math/config/Jamfile.v2 (from r49418, /sandbox/math_toolkit/libs/math/build/Jamfile.v2)
==============================================================================
--- /sandbox/math_toolkit/libs/math/build/Jamfile.v2 (original)
+++ sandbox/math_toolkit/libs/math/config/Jamfile.v2 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -5,101 +5,8 @@
import testing ;
-cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ;
-
-C99_SOURCES = acosh
-asinh
-atanh
-cbrt
-copysign
-erfc
-erf
-expm1
-fmax
-fmin
-fpclassify
-hypot
-lgamma
-llround
-log1p
-lround
-nextafter
-nexttoward
-round
-tgamma
-trunc ;
-
-TR1_SOURCES =
-assoc_laguerre
-assoc_legendre
-beta
-comp_ellint_1
-comp_ellint_2
-comp_ellint_3
-cyl_bessel_i
-cyl_bessel_j
-cyl_bessel_k
-cyl_neumann
-ellint_1
-ellint_2
-ellint_3
-expint
-hermite
-laguerre
-legendre
-riemann_zeta
-sph_bessel
-sph_legendre
-sph_neumann
-;
-
compile has_long_double_support.cpp ;
compile has_mpfr_class.cpp ;
compile has_ntl_rr.cpp ;
-lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch
- :
- <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <include>../src/tr1
- ;
-
-lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp pch
- :
- <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <include>../src/tr1
- ;
-
-lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp pch
- :
- <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <include>../src/tr1
- <dependency>has_long_double_support
- ;
-
-lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
- :
- <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <include>../src/tr1
- ;
-
-lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp pch
- :
- <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <include>../src/tr1
- ;
-
-lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch
- :
- <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- <dependency>has_long_double_support
- <include>../src/tr1
- ;
-
-
-#boost-install boost_math_c99 boost_math_c99f boost_math_c99l boost_math_tr1 boost_math_tr1f boost_math_tr1l ;
-
-
-
-
-
Modified: sandbox/math_toolkit/libs/math/src/tr1/pch.hpp
==============================================================================
--- sandbox/math_toolkit/libs/math/src/tr1/pch.hpp (original)
+++ sandbox/math_toolkit/libs/math/src/tr1/pch.hpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -6,8 +6,6 @@
#ifdef BOOST_BUILD_PCH_ENABLED
#define BOOST_MATH_TR1_SOURCE
-//#include "c_policy.hpp"
#include <boost/math/special_functions.hpp>
-//#include <boost/math/tr1.hpp>
#endif
Modified: sandbox/math_toolkit/libs/math/test/Jamfile.v2
==============================================================================
--- sandbox/math_toolkit/libs/math/test/Jamfile.v2 (original)
+++ sandbox/math_toolkit/libs/math/test/Jamfile.v2 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -34,20 +34,23 @@
# Sunpro has problems building regex as a shared lib:
<toolset>sun:<link>static
<define>BOOST_ALL_NO_LIB=1
+ <include>.
;
-run hypot_test.cpp ;
+cpp-pch pch : pch.hpp ;
+
+run hypot_test.cpp pch ;
run pow_test.cpp ;
-run log1p_expm1_test.cpp ;
-run powm1_sqrtp1m1_test.cpp ;
+run log1p_expm1_test.cpp pch ;
+run powm1_sqrtp1m1_test.cpp pch ;
run special_functions_test.cpp /boost/unit_test//boost_unit_test_framework/<link>static ;
run test_bernoulli.cpp ;
-run test_constants.cpp ;
-run test_bessel_j.cpp ;
-run test_bessel_y.cpp ;
-run test_bessel_i.cpp ;
-run test_bessel_k.cpp ;
-run test_beta.cpp ;
+run test_constants.cpp pch ;
+run test_bessel_j.cpp pch ;
+run test_bessel_y.cpp pch ;
+run test_bessel_i.cpp pch ;
+run test_bessel_k.cpp pch ;
+run test_beta.cpp pch ;
run test_beta_dist.cpp ;
run test_binomial.cpp
: # command line
@@ -73,255 +76,255 @@
: # requirements
<define>TEST_REAL_CONCEPT
: test_binomial_real_concept ;
-run test_binomial_coeff.cpp ;
-run test_carlson.cpp ;
+run test_binomial_coeff.cpp pch ;
+run test_carlson.cpp pch ;
run test_cauchy.cpp ;
-run test_cbrt.cpp ;
+run test_cbrt.cpp pch ;
run test_chi_squared.cpp ;
-run test_classify.cpp ;
-run test_digamma.cpp ;
+run test_classify.cpp pch ;
+run test_digamma.cpp pch ;
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_ellint_1.cpp pch ;
+run test_ellint_2.cpp pch ;
+run test_ellint_3.cpp pch ;
+run test_erf.cpp pch ;
run test_error_handling.cpp ;
-run test_expint.cpp ;
+run test_expint.cpp pch ;
run test_exponential_dist.cpp ;
run test_extreme_value.cpp ;
-run test_factorials.cpp ;
-run test_find_location.cpp ;
-run test_find_scale.cpp ;
+run test_factorials.cpp pch ;
+run test_find_location.cpp pch ;
+run test_find_scale.cpp pch ;
run test_fisher_f.cpp ;
-run test_gamma.cpp ;
-run test_gamma_dist.cpp ;
-run test_hermite.cpp ;
-run test_ibeta.cpp
+run test_gamma.cpp pch ;
+run test_gamma_dist.cpp pch ;
+run test_hermite.cpp pch ;
+run test_ibeta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_ibeta_float ;
-run test_ibeta.cpp
+run test_ibeta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_ibeta_double ;
-run test_ibeta.cpp
+run test_ibeta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_ibeta_long_double ;
-run test_ibeta.cpp
+run test_ibeta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_ibeta_real_concept ;
-run test_ibeta_inv.cpp
+run test_ibeta_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_ibeta_inv_float ;
-run test_ibeta_inv.cpp
+run test_ibeta_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_ibeta_inv_double ;
-run test_ibeta_inv.cpp
+run test_ibeta_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_ibeta_inv_long_double ;
-run test_ibeta_inv.cpp
+run test_ibeta_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_ibeta_inv_real_concept ;
-run test_ibeta_inv_ab.cpp
+run test_ibeta_inv_ab.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_ibeta_inv_ab_float ;
-run test_ibeta_inv_ab.cpp
+run test_ibeta_inv_ab.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_ibeta_inv_ab_double ;
-run test_ibeta_inv_ab.cpp
+run test_ibeta_inv_ab.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_ibeta_inv_ab_long_double ;
-run test_ibeta_inv_ab.cpp
+run test_ibeta_inv_ab.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_ibeta_inv_ab_real_concept ;
-run test_igamma.cpp ;
-run test_igamma_inv.cpp
+run test_igamma.cpp pch ;
+run test_igamma_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_igamma_inv_float ;
-run test_igamma_inv.cpp
+run test_igamma_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_igamma_inv_double ;
-run test_igamma_inv.cpp
+run test_igamma_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_igamma_inv_long_double ;
-run test_igamma_inv.cpp
+run test_igamma_inv.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_igamma_inv_real_concept ;
-run test_igamma_inva.cpp
+run test_igamma_inva.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_igamma_inva_float ;
-run test_igamma_inva.cpp
+run test_igamma_inva.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_igamma_inva_double ;
-run test_igamma_inva.cpp
+run test_igamma_inva.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_igamma_inva_long_double ;
-run test_igamma_inva.cpp
+run test_igamma_inva.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_igamma_inva_real_concept ;
run test_instantiate1.cpp test_instantiate2.cpp ;
-run test_inv_hyp.cpp ;
-run test_laguerre.cpp ;
-run test_legendre.cpp ;
+run test_inv_hyp.cpp pch ;
+run test_laguerre.cpp pch ;
+run test_legendre.cpp pch ;
run test_lognormal.cpp ;
-run test_minima.cpp ;
-run test_negative_binomial.cpp
+run test_minima.cpp pch ;
+run test_negative_binomial.cpp
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_negative_binomial_float ;
-run test_negative_binomial.cpp
+run test_negative_binomial.cpp
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_negative_binomial_double ;
-run test_negative_binomial.cpp
+run test_negative_binomial.cpp
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_negative_binomial_long_double ;
-run test_negative_binomial.cpp
+run test_negative_binomial.cpp
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_negative_binomial_real_concept ;
-run test_next.cpp ;
-run test_nc_chi_squared.cpp
+run test_next.cpp pch pch ;
+run test_nc_chi_squared.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_nc_chi_squared_float ;
-run test_nc_chi_squared.cpp
+run test_nc_chi_squared.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_nc_chi_squared_double ;
-run test_nc_chi_squared.cpp
+run test_nc_chi_squared.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_nc_chi_squared_long_double ;
-run test_nc_chi_squared.cpp
+run test_nc_chi_squared.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_nc_chi_squared_real_concept ;
-run test_nc_beta.cpp
+run test_nc_beta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_nc_beta_float ;
-run test_nc_beta.cpp
+run test_nc_beta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_nc_beta_double ;
-run test_nc_beta.cpp
+run test_nc_beta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_nc_beta_long_double ;
-run test_nc_beta.cpp
+run test_nc_beta.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_nc_beta_real_concept ;
-run test_nc_f.cpp ;
-run test_nc_t.cpp
+run test_nc_f.cpp pch ;
+run test_nc_t.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_FLOAT
: test_nc_t_float ;
-run test_nc_t.cpp
+run test_nc_t.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_DOUBLE
: test_nc_t_double ;
-run test_nc_t.cpp
+run test_nc_t.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_LDOUBLE
: test_nc_t_long_double ;
-run test_nc_t.cpp
+run test_nc_t.cpp pch
: # command line
: # input files
: # requirements
<define>TEST_REAL_CONCEPT
: test_nc_t_real_concept ;
-run test_normal.cpp ;
+run test_normal.cpp pch ;
run test_pareto.cpp ;
run test_poisson.cpp
: # command line
@@ -371,17 +374,17 @@
test_rational_instances/test_rational_real_concept5.cpp
;
-run test_remez.cpp ;
-run test_roots.cpp ;
-run test_round.cpp ;
-run test_spherical_harmonic.cpp ;
+run test_remez.cpp pch ;
+run test_roots.cpp pch ;
+run test_round.cpp pch ;
+run test_spherical_harmonic.cpp pch ;
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_tgamma_ratio.cpp pch ;
+run test_toms748_solve.cpp pch ;
+run test_triangular.cpp pch ;
+run test_uniform.cpp pch ;
run test_weibull.cpp ;
-run test_zeta.cpp ;
+run test_zeta.cpp pch ;
run test_policy.cpp ;
run test_policy_2.cpp ;
@@ -399,7 +402,7 @@
../build//boost_math_c99l
: : :
<define>TEST_LD=1
- <dependency>../build//has_long_double_support
+ <dependency>../config//has_long_double_support
:
test_tr1_long_double
;
@@ -492,6 +495,6 @@
compile compile_test/tools_test_inc_test.cpp ;
compile compile_test/tools_toms748_inc_test.cpp ;
-compile ntl_concept_check.cpp : <dependency>../build//has_ntl_rr ;
-compile mpfr_concept_check.cpp : <dependency>../build//has_mpfr_class ;
+compile ntl_concept_check.cpp : <dependency>../config//has_ntl_rr ;
+compile mpfr_concept_check.cpp : <dependency>../config//has_mpfr_class ;
Modified: sandbox/math_toolkit/libs/math/test/hypot_test.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/hypot_test.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/hypot_test.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/log1p_expm1_test.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/log1p_expm1_test.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/log1p_expm1_test.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
Added: sandbox/math_toolkit/libs/math/test/pch.hpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/test/pch.hpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -0,0 +1,21 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#ifdef BOOST_BUILD_PCH_ENABLED
+
+#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
+#include <boost/test/test_exec_monitor.hpp>
+#include <boost/test/floating_point_comparison.hpp>
+#include <boost/math/special_functions.hpp>
+#include <boost/math/distributions.hpp>
+#include <boost/math/tools/test.hpp>
+#include <boost/math/tools/stats.hpp>
+#include <boost/type_traits.hpp>
+#include <boost/array.hpp>
+#include "functor.hpp"
+
+#include "handle_test_result.hpp"
+
+#endif
Modified: sandbox/math_toolkit/libs/math/test/pow_test.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/pow_test.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/pow_test.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -6,7 +6,6 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
-
#include <cmath>
#include <string>
#include <iostream>
Modified: sandbox/math_toolkit/libs/math/test/powm1_sqrtp1m1_test.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/powm1_sqrtp1m1_test.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/powm1_sqrtp1m1_test.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_bessel_i.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bessel_i.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bessel_i.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_bessel_k.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bessel_k.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bessel_k.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -5,6 +5,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable : 4756) // overflow in constant arithmetic
// Constants are too big for float case, but this doesn't matter for test.
Modified: sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_beta.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_beta.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_beta.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -5,6 +5,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_binomial_coeff.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_binomial_coeff.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_binomial_coeff.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_carlson.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_carlson.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_carlson.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -5,6 +5,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_cbrt.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_cbrt.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_cbrt.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_classify.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_classify.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_classify.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -4,6 +4,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <cmath>
#include <math.h>
#include <boost/limits.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_constants.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_constants.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_constants.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -8,6 +8,8 @@
// test_constants.cpp
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp> // for real_concept
#include <boost/test/included/test_exec_monitor.hpp> // Boost.Test
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_digamma.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_digamma.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_digamma.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_ellint_1.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_ellint_1.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_ellint_1.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -6,6 +6,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable : 4756) // overflow in constant arithmetic
// Constants are too big for float case, but this doesn't matter for test.
Modified: sandbox/math_toolkit/libs/math/test/test_ellint_2.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_ellint_2.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_ellint_2.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -6,6 +6,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable : 4756) // overflow in constant arithmetic
// Constants are too big for float case, but this doesn't matter for test.
Modified: sandbox/math_toolkit/libs/math/test/test_ellint_3.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_ellint_3.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_ellint_3.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -6,6 +6,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable : 4756) // overflow in constant arithmetic
// Constants are too big for float case, but this doesn't matter for test.
Modified: sandbox/math_toolkit/libs/math/test/test_erf.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_erf.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_erf.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -4,6 +4,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_expint.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_expint.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_expint.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/math/special_functions/expint.hpp>
#include <boost/math/special_functions/trunc.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_factorials.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_factorials.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_factorials.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable: 4127) // conditional expression is constant.
# pragma warning(disable: 4245) // int/unsigned int conversion
Modified: sandbox/math_toolkit/libs/math/test/test_find_location.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_find_location.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_find_location.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -13,6 +13,8 @@
// Default domain error policy is
// #define BOOST_MATH_DOMAIN_ERROR_POLICY throw_on_error
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp> // for real_concept
#include <boost/math/distributions/normal.hpp> // for normal_distribution
using boost::math::normal; // Default type double.
Modified: sandbox/math_toolkit/libs/math/test/test_find_scale.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_find_scale.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_find_scale.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -13,6 +13,8 @@
// Default distribution domain error policy is
// #define BOOST_MATH_DOMAIN_ERROR_POLICY throw_on_error
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp> // for real_concept
#include <boost/math/distributions/normal.hpp> // for normal_distribution
using boost::math::normal; // Default type double.
Modified: sandbox/math_toolkit/libs/math/test/test_gamma.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_gamma.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_gamma.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_gamma_dist.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_gamma_dist.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_gamma_dist.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -15,6 +15,8 @@
// From MathWorld--A Wolfram Web Resource.
// http://mathworld.wolfram.com/GammaDistribution.html
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp> // for real_concept
#include <boost/test/included/test_exec_monitor.hpp> // Boost.Test
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_hermite.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_hermite.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_hermite.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -5,6 +5,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable : 4127) // conditional expression is constant
# pragma warning(disable : 4512) // assignment operator could not be generated
Modified: sandbox/math_toolkit/libs/math/test/test_ibeta.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_ibeta.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_ibeta.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_ibeta_inv.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_ibeta_inv.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_ibeta_inv.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_ibeta_inv_ab.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_ibeta_inv_ab.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_ibeta_inv_ab.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_igamma.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_igamma.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_igamma.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_igamma_inv.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_igamma_inv.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_igamma_inv.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/math/special_functions/gamma.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_igamma_inva.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_igamma_inva.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_igamma_inva.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_inv_hyp.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_inv_hyp.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_inv_hyp.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/math/special_functions/acosh.hpp>
#include <boost/math/special_functions/asinh.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_laguerre.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_laguerre.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_laguerre.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_legendre.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_legendre.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_legendre.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_minima.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_minima.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_minima.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -5,6 +5,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/tools/minima.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_nc_beta.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_nc_beta.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_nc_beta.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -7,6 +7,8 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
#pragma warning (disable:4127 4512)
#endif
Modified: sandbox/math_toolkit/libs/math/test/test_nc_chi_squared.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_nc_chi_squared.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_nc_chi_squared.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -7,6 +7,8 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
#pragma warning (disable:4127 4512)
#endif
Modified: sandbox/math_toolkit/libs/math/test/test_nc_f.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_nc_f.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_nc_f.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -7,6 +7,8 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
#pragma warning (disable:4127 4512)
#endif
Modified: sandbox/math_toolkit/libs/math/test/test_nc_t.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_nc_t.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_nc_t.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -7,6 +7,8 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
#pragma warning (disable:4127 4512)
#endif
Modified: sandbox/math_toolkit/libs/math/test/test_next.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_next.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_next.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_normal.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_normal.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_normal.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -15,6 +15,8 @@
// From MathWorld--A Wolfram Web Resource.
// http://mathworld.wolfram.com/NormalDistribution.html
+#include <pch.hpp>
+
#ifdef _MSC_VER
#pragma warning (disable: 4127) // conditional expression is constant
// caused by using if(std::numeric_limits<RealType>::has_infinity)
Modified: sandbox/math_toolkit/libs/math/test/test_remez.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_remez.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_remez.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -4,6 +4,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable : 4267) // conversion from 'size_t' to 'const unsigned int', possible loss of data
# pragma warning(disable : 4180) // qualifier applied to function type has no meaning; ignored
Modified: sandbox/math_toolkit/libs/math/test/test_roots.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_roots.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_roots.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include <boost/test/results_collector.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_round.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_round.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_round.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_spherical_harmonic.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_spherical_harmonic.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_spherical_harmonic.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_tgamma_ratio.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_tgamma_ratio.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_tgamma_ratio.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/concepts/real_concept.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_toms748_solve.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_toms748_solve.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_toms748_solve.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/test/included/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
Modified: sandbox/math_toolkit/libs/math/test/test_triangular.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_triangular.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_triangular.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -8,6 +8,8 @@
// test_triangular.cpp
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable: 4127) // conditional expression is constant.
# pragma warning(disable: 4305) // truncation from 'long double' to 'float'
Modified: sandbox/math_toolkit/libs/math/test/test_uniform.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_uniform.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_uniform.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -8,6 +8,8 @@
// test_uniform.cpp
+#include <pch.hpp>
+
#ifdef _MSC_VER
# pragma warning(disable: 4127) // conditional expression is constant.
# pragma warning(disable: 4100) // unreferenced formal parameter.
Modified: sandbox/math_toolkit/libs/math/test/test_zeta.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_zeta.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_zeta.cpp 2008-10-23 08:24:45 EDT (Thu, 23 Oct 2008)
@@ -3,6 +3,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <pch.hpp>
+
#include <boost/math/concepts/real_concept.hpp>
#include <boost/math/special_functions/zeta.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk