diff --git a/reporting/accuracy/doc/accuracy_tables.qbk b/reporting/accuracy/doc/accuracy_tables.qbk index 28854148b..77a21081e 100644 --- a/reporting/accuracy/doc/accuracy_tables.qbk +++ b/reporting/accuracy/doc/accuracy_tables.qbk @@ -4759,3 +4759,10 @@ CAUTION: Found non-finite result, when a finite value was expected at entry 16[b [errors_GNU_C_version_5_1_0_linux_double_cyl_neumann_GSL_1_16_Yn_Mathworld_Data] [errors_Microsoft_Visual_C_version_12_0_Win32_double_cyl_bessel_j_integer_orders___math_h__Bessel_JN_Mathworld_Data_Integer_Version_] ] + +[/ + Copyright 2015 John Maddock and Paul A. Bristow. + Distributed under 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). +] diff --git a/reporting/accuracy/doc/report.qbk b/reporting/accuracy/doc/report.qbk index 4950dcf46..6390323de 100644 --- a/reporting/accuracy/doc/report.qbk +++ b/reporting/accuracy/doc/report.qbk @@ -24,3 +24,10 @@ [all_tables] [endsect] + +[/ + Copyright 2015 John Maddock and Paul A. Bristow. + Distributed under 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). +] diff --git a/reporting/accuracy/third_party/cephes_double/readme.txt b/reporting/accuracy/third_party/cephes_double/readme.txt index ea9283ad4..f5f49d0b1 100644 --- a/reporting/accuracy/third_party/cephes_double/readme.txt +++ b/reporting/accuracy/third_party/cephes_double/readme.txt @@ -1,2 +1,7 @@ Place the source for the Cephes double precision library here if you want bjam to -build and test it when reporting accuracy results. \ No newline at end of file +build and test it when reporting accuracy results. + +Copyright 2015 John Maddock and Paul A. Bristow. +Distributed under 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). diff --git a/reporting/performance/doc/performance_tables.qbk b/reporting/performance/doc/performance_tables.qbk index 4a4eaa148..d8414e72f 100644 --- a/reporting/performance/doc/performance_tables.qbk +++ b/reporting/performance/doc/performance_tables.qbk @@ -2055,3 +2055,10 @@ [table_Rational_Method_Comparison_with_Intel_C_C_0x_mode_version_1500_on_linux] [table_Rational_Method_Comparison_with_Microsoft_Visual_C_version_14_0_on_Windows_x64] ] + +[/ + Copyright 2015 John Maddock and Paul A. Bristow. + Distributed under 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). +] diff --git a/reporting/performance/doc/report.qbk b/reporting/performance/doc/report.qbk index c4f95246b..81de1c813 100644 --- a/reporting/performance/doc/report.qbk +++ b/reporting/performance/doc/report.qbk @@ -13,3 +13,9 @@ [performance_all_sections] +[/ + Copyright 2015 John Maddock and Paul A. Bristow. + Distributed under 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). +] diff --git a/reporting/performance/test_distributions.cpp b/reporting/performance/test_distributions.cpp index 1efe8d011..016df73f0 100644 --- a/reporting/performance/test_distributions.cpp +++ b/reporting/performance/test_distributions.cpp @@ -150,7 +150,7 @@ public: std::cerr << "Aborting due to exception: " << e.what() << std::endl; std::cerr << "In " << distro_name + " (" + std::string(sub_name) + ")" << std::endl; report_execution_time( - std::numeric_limits::max(), + (std::numeric_limits::max)(), std::string("Distribution performance comparison with ") + compiler_name() + std::string(" on ") + platform_name(), distro_name + " (" + std::string(sub_name) + ")", column); diff --git a/reporting/performance/third_party/dcdflib/readme.txt b/reporting/performance/third_party/dcdflib/readme.txt index 37db18488..aec2d85f8 100644 --- a/reporting/performance/third_party/dcdflib/readme.txt +++ b/reporting/performance/third_party/dcdflib/readme.txt @@ -1 +1,6 @@ -Add the C source files for DCDFLIB here if you want them to be built and tested for performance comparisons. \ No newline at end of file +Add the C source files for DCDFLIB here if you want them to be built and tested for performance comparisons. + +Copyright 2015 John Maddock and Paul A. Bristow. +Distributed under 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). diff --git a/test/bessel_i_prime_data.ipp b/test/bessel_i_prime_data.ipp index 7be136840..c6cde69d8 100644 --- a/test/bessel_i_prime_data.ipp +++ b/test/bessel_i_prime_data.ipp @@ -474,4 +474,4 @@ {{ SC_(-0.99292266845703125e2), SC_(0.95070552825927734375e1), SC_(4.558385392397380699165520108576973779945146181354e+87) }}, {{ SC_(-0.99292266845703125e2), SC_(0.24750102996826171875e2), SC_(2653762654218899644996572642732864700666903231.4459) }}, {{ SC_(-0.99292266845703125e2), SC_(0.637722015380859375e2), SC_(4.4670744813706185429763687583551679887281326495188) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_i_prime_int_data.ipp b/test/bessel_i_prime_int_data.ipp index c69aae904..178c97d88 100644 --- a/test/bessel_i_prime_int_data.ipp +++ b/test/bessel_i_prime_int_data.ipp @@ -1984,4 +1984,4 @@ {{ SC_(-0.88e2), SC_(-0.95070552825927734375e1), SC_(-2.4442318532108741067843417039652114734958529194241e-74) }}, {{ SC_(-0.88e2), SC_(-0.24750102996826171875e2), SC_(-1.5255185376367196961330937653065804471587161182596e-37) }}, {{ SC_(-0.88e2), SC_(-0.637722015380859375e2), SC_(-930.9184838624792218675752167087125839937752968732) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_j_prime_int_data.ipp b/test/bessel_j_prime_int_data.ipp index 04368e8dd..7f89b9842 100644 --- a/test/bessel_j_prime_int_data.ipp +++ b/test/bessel_j_prime_int_data.ipp @@ -900,4 +900,4 @@ {{ SC_(-0.28e2), SC_(-0.79858455657958984375e1), SC_(-4.3461131808442452576611812536250778441599549912967e-13) }}, {{ SC_(-0.28e2), SC_(-0.1571910858154296875e2), SC_(-6.2830436864843404153634864362763782379989319422095e-06) }}, {{ SC_(-0.28e2), SC_(-0.31483119964599609375e2), SC_(0.038367367337169753016085766030182628326676691691779) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_j_prime_large_data.ipp b/test/bessel_j_prime_large_data.ipp index ce5f53f44..bd6c99919 100644 --- a/test/bessel_j_prime_large_data.ipp +++ b/test/bessel_j_prime_large_data.ipp @@ -144,4 +144,4 @@ {{ SC_(-0.7212715911865234375e2), SC_(0.126748310546875e5), SC_(-0.0067601510171817445966096633306319288060682821068724) }}, {{ SC_(-0.7212715911865234375e2), SC_(0.209469140625e5), SC_(0.0054755679536842675831712821454104474653176771646281) }}, {{ SC_(-0.7212715911865234375e2), SC_(0.389408984375e5), SC_(0.0013432302588697356293697664384457952182799873797) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_k_prime_data.ipp b/test/bessel_k_prime_data.ipp index d6a080da9..c5fbf6662 100644 --- a/test/bessel_k_prime_data.ipp +++ b/test/bessel_k_prime_data.ipp @@ -530,4 +530,4 @@ {{ SC_(-0.99292266845703125e2), SC_(0.1622925e5), SC_(BOOST_MATH_SMALL_CONSTANT(-7.0976847244501301711496758361494292049081737362601e-7051)) }}, {{ SC_(-0.99292266845703125e2), SC_(0.3206622265625e5), SC_(BOOST_MATH_SMALL_CONSTANT(-5.3487247123357975974272081432102149067206440666883e-13929)) }}, {{ SC_(-0.99292266845703125e2), SC_(0.3636794921875e5), SC_(BOOST_MATH_SMALL_CONSTANT(-2.9985285649643779417565006201095646024682201998538e-15797)) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_k_prime_int_data.ipp b/test/bessel_k_prime_int_data.ipp index 190697368..4d326dc08 100644 --- a/test/bessel_k_prime_int_data.ipp +++ b/test/bessel_k_prime_int_data.ipp @@ -965,4 +965,4 @@ {{ SC_(-0.88e2), SC_(0.1622925e5), SC_(BOOST_MATH_SMALL_CONSTANT(-6.6499429337777740527854112012152307484800747131988e-7051)) }}, {{ SC_(-0.88e2), SC_(0.3206622265625e5), SC_(BOOST_MATH_SMALL_CONSTANT(-5.1752092856281561337229432353326859580022400449271e-13929)) }}, {{ SC_(-0.88e2), SC_(0.3636794921875e5), SC_(BOOST_MATH_SMALL_CONSTANT(-2.91259416631711777510013561133401775712156938498e-15797)) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_y01_prime_data.ipp b/test/bessel_y01_prime_data.ipp index 61171f270..5ef8f29ea 100644 --- a/test/bessel_y01_prime_data.ipp +++ b/test/bessel_y01_prime_data.ipp @@ -204,4 +204,4 @@ {{ SC_(-0.1e1), SC_(0.49055484771728515625e2), SC_(0.1046214022934232142095256297166114261466610970061) }}, {{ SC_(-0.1e1), SC_(0.4964406585693359375e2), SC_(0.11137653514477669071095901730717066194022626312986) }}, {{ SC_(-0.1e1), SC_(0.4982306671142578125e2), SC_(0.1057675247210582492156600670383499544602927957322) }}, - }}; \ No newline at end of file + }}; diff --git a/test/bessel_yv_prime_data.ipp b/test/bessel_yv_prime_data.ipp index d3c96434c..64097cc90 100644 --- a/test/bessel_yv_prime_data.ipp +++ b/test/bessel_yv_prime_data.ipp @@ -868,4 +868,4 @@ {{ SC_(-0.1185395751953125e4), SC_(0.1622925e5), SC_(0.0054358529086944618531913092820724628012685794425012) }}, {{ SC_(-0.1185395751953125e4), SC_(0.3206622265625e5), SC_(0.001126223979426074413337753504813753247338856879985) }}, {{ SC_(-0.1185395751953125e4), SC_(0.3636794921875e5), SC_(-0.0038670666868434098582685598198227731719990621720596) }}, - }}; \ No newline at end of file + }}; diff --git a/test/ellint_d2_data.ipp b/test/ellint_d2_data.ipp index 6af0718a0..09301ff28 100644 --- a/test/ellint_d2_data.ipp +++ b/test/ellint_d2_data.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_d_data.ipp b/test/ellint_d_data.ipp index f7ebf2fcd..e24584a5b 100644 --- a/test/ellint_d_data.ipp +++ b/test/ellint_d_data.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rd_0xy.ipp b/test/ellint_rd_0xy.ipp index 4b3a2cd7c..ad2d4ce38 100644 --- a/test/ellint_rd_0xy.ipp +++ b/test/ellint_rd_0xy.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rd_0yy.ipp b/test/ellint_rd_0yy.ipp index 914204802..ce6bda193 100644 --- a/test/ellint_rd_0yy.ipp +++ b/test/ellint_rd_0yy.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rd_xxx.ipp b/test/ellint_rd_xxx.ipp index 5cb542149..e4875f733 100644 --- a/test/ellint_rd_xxx.ipp +++ b/test/ellint_rd_xxx.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rd_xxz.ipp b/test/ellint_rd_xxz.ipp index 64efde4c1..a8aaf5b2e 100644 --- a/test/ellint_rd_xxz.ipp +++ b/test/ellint_rd_xxz.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rd_xyy.ipp b/test/ellint_rd_xyy.ipp index 2c7220f8d..408240b91 100644 --- a/test/ellint_rd_xyy.ipp +++ b/test/ellint_rd_xyy.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rf_0yy.ipp b/test/ellint_rf_0yy.ipp index 4b4686f7d..13b4bc1ee 100644 --- a/test/ellint_rf_0yy.ipp +++ b/test/ellint_rf_0yy.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rf_xxx.ipp b/test/ellint_rf_xxx.ipp index 70e9c0428..261286906 100644 --- a/test/ellint_rf_xxx.ipp +++ b/test/ellint_rf_xxx.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rf_xy0.ipp b/test/ellint_rf_xy0.ipp index fc8cc1aa4..ebbacdc2a 100644 --- a/test/ellint_rf_xy0.ipp +++ b/test/ellint_rf_xy0.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rf_xyy.ipp b/test/ellint_rf_xyy.ipp index 000ea59ea..7882df712 100644 --- a/test/ellint_rf_xyy.ipp +++ b/test/ellint_rf_xyy.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rg.ipp b/test/ellint_rg.ipp index 1f15804de..896418ab5 100644 --- a/test/ellint_rg.ipp +++ b/test/ellint_rg.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rg_00x.ipp b/test/ellint_rg_00x.ipp index 9f871452b..87145fcc8 100644 --- a/test/ellint_rg_00x.ipp +++ b/test/ellint_rg_00x.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rg_xxx.ipp b/test/ellint_rg_xxx.ipp index 4c6188c22..30b94e644 100644 --- a/test/ellint_rg_xxx.ipp +++ b/test/ellint_rg_xxx.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rg_xy0.ipp b/test/ellint_rg_xy0.ipp index ac8d2ffb0..31082d053 100644 --- a/test/ellint_rg_xy0.ipp +++ b/test/ellint_rg_xy0.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rg_xyy.ipp b/test/ellint_rg_xyy.ipp index efbfbe81c..cde926f18 100644 --- a/test/ellint_rg_xyy.ipp +++ b/test/ellint_rg_xyy.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rj_e2.ipp b/test/ellint_rj_e2.ipp index 2afefd2c5..69cf46de0 100644 --- a/test/ellint_rj_e2.ipp +++ b/test/ellint_rj_e2.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rj_e3.ipp b/test/ellint_rj_e3.ipp index 1c0edda0e..786acf080 100644 --- a/test/ellint_rj_e3.ipp +++ b/test/ellint_rj_e3.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rj_e4.ipp b/test/ellint_rj_e4.ipp index f8f565a22..7c230db63 100644 --- a/test/ellint_rj_e4.ipp +++ b/test/ellint_rj_e4.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ellint_rj_zp.ipp b/test/ellint_rj_zp.ipp index 118c341f5..73d9a6f07 100644 --- a/test/ellint_rj_zp.ipp +++ b/test/ellint_rj_zp.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/heuman_lambda_data.ipp b/test/heuman_lambda_data.ipp index c82b3a17e..5e9a80e0e 100644 --- a/test/heuman_lambda_data.ipp +++ b/test/heuman_lambda_data.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/jacobi_zeta_big_phi.ipp b/test/jacobi_zeta_big_phi.ipp index 5433cf6de..153994b6e 100644 --- a/test/jacobi_zeta_big_phi.ipp +++ b/test/jacobi_zeta_big_phi.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/jacobi_zeta_data.ipp b/test/jacobi_zeta_data.ipp index 530ea0991..16ecde431 100644 --- a/test/jacobi_zeta_data.ipp +++ b/test/jacobi_zeta_data.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/noeh_support.cpp b/test/noeh_support.cpp index 07523887e..eee1d698d 100644 --- a/test/noeh_support.cpp +++ b/test/noeh_support.cpp @@ -1,4 +1,7 @@ - +// Copyright John Maddock 2015. +// 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 #include diff --git a/test/powm1_data.ipp b/test/powm1_data.ipp index d9f24b16a..46b0984ad 100644 --- a/test/powm1_data.ipp +++ b/test/powm1_data.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ #define SC_(x) static_cast::type>(BOOST_JOIN(x, L)) #endif diff --git a/test/test_bessel_j_prime.hpp b/test/test_bessel_j_prime.hpp index 90ec0f31a..2f96adbeb 100644 --- a/test/test_bessel_j_prime.hpp +++ b/test/test_bessel_j_prime.hpp @@ -209,38 +209,38 @@ void test_bessel_prime(T, const char* name) do_test_cyl_bessel_j_prime_int(jn_data, name, "Bessel JN': Mathworld Data (Integer Version)"); static const boost::array, 21> jv_data = {{ - {{ T(22.5), T(0), SC_(0.0) }}, - {{ T(2457)/1024, T(1)/1024, SC_(9.35477929043111040277363766198320562099360690e-6) }}, - {{ SC_(5.5), T(3217)/1024, SC_(0.042165579369684463582791278988393873) }}, - {{ SC_(-5.5), T(3217)/1024, SC_(3.361570113176257957139775812778503494) }}, - {{ SC_(-5.5), SC_(1e+04), SC_(0.007593311396019034252155600098309836289) }}, - {{ SC_(5.5), SC_(1e+04), SC_(-0.00245022241637437956702428797044365092) }}, - {{ SC_(5.5), SC_(1e+06), SC_(-0.000279242826717266554062248256927185394) }}, - {{ SC_(5.125), SC_(1e+06), SC_(0.0001830632695189459708211614700642271) }}, - {{ SC_(5.875), SC_(1e+06), SC_(-0.0006474276718101871487286860109203539) }}, - {{ SC_(0.5), SC_(101.0), SC_(0.070640819172197226936337703929857171981702865) }}, - {{ SC_(-5.5), SC_(1e+04), SC_(0.007593311396019034252155600098309836289) }}, - {{ SC_(-5.5), SC_(1e+06), SC_(-0.0007474243882060190346457525218941411076) }}, - {{ SC_(-0.5), SC_(101.0), SC_(-0.036238035321276062532981494694583591262302408) }}, - {{ T(-10486074) / (1024*1024), T(1)/512, SC_(-7.0724447469115535625316241941528969321944e35) }}, - {{ T(-10486074) / (1024*1024), SC_(15.0), SC_(-0.15994088796049823354364759206656917967697690) }}, - {{ T(10486074) / (1024*1024), SC_(1e+02), SC_(-0.05778764167290516644655950658602424434253) }}, - {{ T(10486074) / (1024*1024), SC_(2e+04), SC_(-0.00091101010794789360775314125410690740803) }}, - {{ T(-10486074) / (1024*1024), SC_(1e+02), SC_(-0.057736130385111563671838499496767877709471701) }}, - {{ SC_(1.5), T(8034)/1024, SC_(0.2783550354042687982259490073096357) }}, - {{ SC_(8.5), boost::math::constants::pi() * 4, SC_(-0.194590144622675911618596506265006877277074) }}, - {{ SC_(-8.5), boost::math::constants::pi() * 4, SC_(-0.014516314554743677558496402742690038592728) }}, + {{ T(22.5), T(0), SC_(0.0) }}, + {{ T(2457)/1024, T(1)/1024, SC_(9.35477929043111040277363766198320562099360690e-6) }}, + {{ SC_(5.5), T(3217)/1024, SC_(0.042165579369684463582791278988393873) }}, + {{ SC_(-5.5), T(3217)/1024, SC_(3.361570113176257957139775812778503494) }}, + {{ SC_(-5.5), SC_(1e+04), SC_(0.007593311396019034252155600098309836289) }}, + {{ SC_(5.5), SC_(1e+04), SC_(-0.00245022241637437956702428797044365092) }}, + {{ SC_(5.5), SC_(1e+06), SC_(-0.000279242826717266554062248256927185394) }}, + {{ SC_(5.125), SC_(1e+06), SC_(0.0001830632695189459708211614700642271) }}, + {{ SC_(5.875), SC_(1e+06), SC_(-0.0006474276718101871487286860109203539) }}, + {{ SC_(0.5), SC_(101.0), SC_(0.070640819172197226936337703929857171981702865) }}, + {{ SC_(-5.5), SC_(1e+04), SC_(0.007593311396019034252155600098309836289) }}, + {{ SC_(-5.5), SC_(1e+06), SC_(-0.0007474243882060190346457525218941411076) }}, + {{ SC_(-0.5), SC_(101.0), SC_(-0.036238035321276062532981494694583591262302408) }}, + {{ T(-10486074) / (1024*1024), T(1)/512, SC_(-7.0724447469115535625316241941528969321944e35) }}, + {{ T(-10486074) / (1024*1024), SC_(15.0), SC_(-0.15994088796049823354364759206656917967697690) }}, + {{ T(10486074) / (1024*1024), SC_(1e+02), SC_(-0.05778764167290516644655950658602424434253) }}, + {{ T(10486074) / (1024*1024), SC_(2e+04), SC_(-0.00091101010794789360775314125410690740803) }}, + {{ T(-10486074) / (1024*1024), SC_(1e+02), SC_(-0.057736130385111563671838499496767877709471701) }}, + {{ SC_(1.5), T(8034)/1024, SC_(0.2783550354042687982259490073096357) }}, + {{ SC_(8.5), boost::math::constants::pi() * 4, SC_(-0.194590144622675911618596506265006877277074) }}, + {{ SC_(-8.5), boost::math::constants::pi() * 4, SC_(-0.014516314554743677558496402742690038592728) }}, }}; do_test_cyl_bessel_j_prime(jv_data, name, "Bessel J': Mathworld Data"); static const boost::array, 4> jv_large_data = {{ #if LDBL_MAX_10_EXP > 308 - {{ SC_(-0.5), static_cast(std::ldexp(0.5, -683)), SC_(-2.8687031947358902542073388638943588627056993e308) }}, + {{ SC_(-0.5), static_cast(std::ldexp(0.5, -683)), SC_(-2.8687031947358902542073388638943588627056993e308) }}, #else - {{ SC_(-0.5), static_cast(std::ldexp(0.5, -450)), SC_(-1.7688953183288445554095310240218576026580197125814e203) }}, + {{ SC_(-0.5), static_cast(std::ldexp(0.5, -450)), SC_(-1.7688953183288445554095310240218576026580197125814e203) }}, #endif - {{ SC_(256.0), SC_(512.0), SC_(0.032286467266411904239327492993951594201583145) }}, - {{ SC_(-256.0), SC_(8.0), SC_(4.6974301387555891979202431551474684165419e-352) }}, - {{ SC_(-2.5), SC_(4.0), SC_(-0.3580070651681080294136741901878543615958139) }}, + {{ SC_(256.0), SC_(512.0), SC_(0.032286467266411904239327492993951594201583145) }}, + {{ SC_(-256.0), SC_(8.0), SC_(4.6974301387555891979202431551474684165419e-352) }}, + {{ SC_(-2.5), SC_(4.0), SC_(-0.3580070651681080294136741901878543615958139) }}, }}; if(jv_large_data[0][1] != 0) do_test_cyl_bessel_j_prime(jv_large_data, name, "Bessel J': Mathworld Data (large values)"); diff --git a/test/test_hyperexponential_dist.cpp b/test/test_hyperexponential_dist.cpp index c77a7f9b4..5068a19c9 100644 --- a/test/test_hyperexponential_dist.cpp +++ b/test/test_hyperexponential_dist.cpp @@ -343,7 +343,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(special_cases, RealT, test_types) { const RealT tol = make_tolerance(); - // When the number of phases is 1, the hyperexponential distribution is an exponential distribution + // When the number of phases is 1, the hyperexponential distribution is an exponential distribution const RealT rates1[] = { static_cast(0.5L) }; boost::math::hyperexponential_distribution hexp1(rates1); boost::math::exponential_distribution exp1(rates1[0]); @@ -356,7 +356,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(special_cases, RealT, test_types) BOOST_CHECK_CLOSE(boost::math::quantile(hexp1, static_cast(0.75L)), boost::math::quantile(exp1, static_cast(0.75L)), tol); BOOST_CHECK_CLOSE(boost::math::mode(hexp1), boost::math::mode(exp1), tol); - // When a k-phase hyperexponential distribution has all rates equal to r, the distribution is an exponential distribution with rate r + // When a k-phase hyperexponential distribution has all rates equal to r, the distribution is an exponential distribution with rate r const RealT rate2 = static_cast(0.5L); const RealT rates2[] = { rate2, rate2, rate2 }; boost::math::hyperexponential_distribution hexp2(rates2); @@ -385,4 +385,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(error_cases, RealT, test_types) BOOST_MATH_CHECK_THROW(dist_t(probs2, rates), std::domain_error); BOOST_MATH_CHECK_THROW(dist_t(probs.begin(), probs.begin(), rates.begin(), rates.begin()), std::domain_error); BOOST_MATH_CHECK_THROW(dist_t(rates.begin(), rates.begin()), std::domain_error); -} \ No newline at end of file +} diff --git a/test/trig_data.ipp b/test/trig_data.ipp index 406fde947..1614b469c 100644 --- a/test/trig_data.ipp +++ b/test/trig_data.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/trig_data2.ipp b/test/trig_data2.ipp index 8f9953f4c..04d4be723 100644 --- a/test/trig_data2.ipp +++ b/test/trig_data2.ipp @@ -1,3 +1,8 @@ +// Copyright John Maddock 2015. +// 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) + #ifndef SC_ # define SC_(x) static_cast(BOOST_JOIN(x, L)) #endif diff --git a/test/ztest_max_digits10.cpp b/test/ztest_max_digits10.cpp index c6ecc6d37..ab3b0195d 100644 --- a/test/ztest_max_digits10.cpp +++ b/test/ztest_max_digits10.cpp @@ -16,7 +16,7 @@ new max_digits10. This is needed to produce or select a macro to avoid compilation failure in Boost.Test for platforms that do not include either or both of these. -BOOST_NO_NUMERIC_LIMITS_LOWEST is suitable but deprecated. +BOOST_NO_CXX11_NUMERIC_LIMITS is suitable. [Boost C++ Libraries] diff --git a/test/zztest_max_digits10.cpp b/test/zztest_max_digits10.cpp index 26574ffe9..8fefe47a2 100644 --- a/test/zztest_max_digits10.cpp +++ b/test/zztest_max_digits10.cpp @@ -16,11 +16,7 @@ new max_digits10. This is needed to produce or select a macro to avoid compilation failure in Boost.Test for platforms that do not include either or both of these. -BOOST_NO_NUMERIC_LIMITS_LOWEST is suitable but is deprecated in favour of - -BOOST_NO_CXX11_NUMERIC_LIMITS - -and is tested here. +BOOST_NO_CXX11_NUMERIC_LIMITS is tested here. [Boost C++ Libraries]