Commit Graph

1759 Commits

Author SHA1 Message Date
John Maddock
c07c35a34e Refactored build process to improve compile times.
Fixed expression-template incompatibility in spherical_harmonic.hpp.
Fixed expression template issues in log1p_expm1_test.hpp and test_cbrt.hpp.

[SVN r83775]
2013-04-06 08:54:04 +00:00
Paul A. Bristow
9db201aad9 Revised zztest_max_digits10 test to check on RaspberryPI failures in constants_eg1.cpp.
[SVN r83598]
2013-03-27 11:52:17 +00:00
Paul A. Bristow
6ee3663a45 Re-enabled zztest_max_digits10 test to check on RaspberryPI failures in constants_eg1.cpp.
[SVN r83597]
2013-03-27 11:48:33 +00:00
Paul A. Bristow
0b57dde6d2 Increased tolerance for realConcept
[SVN r83584]
2013-03-26 14:59:27 +00:00
John Maddock
6e626c1830 Fix edge case in Halley iteration where the derivative is flatlining.
Fix edge cases in poisson distribution quantile.
Fixes #8314.
Fixes #8308.
Update and regenerate docs.

[SVN r83512]
2013-03-21 13:01:50 +00:00
Paul A. Bristow
4da4129672 Added tests for airy multi-root versions.
[SVN r83423]
2013-03-14 11:20:15 +00:00
John Maddock
307d5ae933 Adjust tgamma_ratio failure rates, fix some clang warnings, plus a bug in error_handling.hpp that causes unitialized variable use in some situations.
[SVN r83360]
2013-03-08 12:16:13 +00:00
John Maddock
343d9ba8e6 Remove dependency on quadmath.h.
Fixes #8265.

[SVN r83356]
2013-03-08 11:33:04 +00:00
Paul A. Bristow
407f10a01a Yet another tolerance tweak for airy_ai_zero and airy_bi_zero for 80 bit platforms.
[SVN r83343]
2013-03-07 10:03:28 +00:00
John Maddock
42b3d6bb0f Fix a couple of expression template support issues in bessel.hpp.
Add minimal support for __float128 - particularly numeric constant support.
Improve constant test cases.
Fix bug in zeta function tests.

[SVN r83342]
2013-03-07 09:17:09 +00:00
John Maddock
642088581c Don't mix Boost.Test with multiprecision types.
[SVN r83329]
2013-03-06 09:13:10 +00:00
John Maddock
5d0ec69822 Change to use Multiprecision lib rather than NTL for constants generation.
[SVN r83317]
2013-03-05 18:34:55 +00:00
John Maddock
6c6e542ed4 Tighten up error handling is tgamma_ratio.
[SVN r83316]
2013-03-05 18:33:58 +00:00
Paul A. Bristow
cdf652e5f7 Yet more tweaks, this time for Darwin strange long doubles.
[SVN r83309]
2013-03-05 12:34:11 +00:00
Paul A. Bristow
7d24320a59 Yet another tolerance tweak for long double.
[SVN r83293]
2013-03-04 10:25:27 +00:00
John Maddock
51dd944d85 Improve accuracy of tgamma_ratio when one argument is very small, thanks to ideas from Rocco Romeo.
[SVN r83250]
2013-03-02 18:59:50 +00:00
John Maddock
cd55f94984 Fix bug in zeta that results in an incorrect domain_error for -eps < s < 0.
Add new constant needed by fix.

[SVN r83228]
2013-03-01 13:18:07 +00:00
Paul A. Bristow
36ab3af7c7 Added missing L and increased a few more tolerances.
[SVN r83226]
2013-03-01 10:15:06 +00:00
Paul A. Bristow
39d6a82424 Added missing L and increased a few more tolerances.
[SVN r83225]
2013-03-01 10:10:10 +00:00
Paul A. Bristow
f172fd85a8 Increased a few tolerances to allow for 80 bit GCC platforms.
Added new tests for the discontinuity near mid-point between integer orders.

[SVN r83199]
2013-02-28 09:46:32 +00:00
Paul A. Bristow
256f7c436b Added tests for airy (0) call and more spot values, passing on MSVC 10.
[SVN r83187]
2013-02-27 12:51:52 +00:00
Paul A. Bristow
e90f566315 Added cyl_neumann tests with negative order. Two failures to find root, and some disagreement with Wolfram - where I think Wolfram is wrong!
[SVN r83149]
2013-02-25 12:44:23 +00:00
John Maddock
712cbabdb1 Tweak permitted error rates.
[SVN r83106]
2013-02-23 18:31:36 +00:00
John Maddock
b65f2d0e64 Up tolerance.
[SVN r83105]
2013-02-23 18:27:41 +00:00
Paul A. Bristow
2fc39a9010 Added new test for negative orders - one requires a higher tolerance,
[SVN r83065]
2013-02-21 16:19:20 +00:00
John Maddock
c81974e215 Add missing link dependency to Paul Bristow's new example.
Fix tgamma bug reported by Rocco Romeo.
Update history.

[SVN r83011]
2013-02-19 17:02:50 +00:00
Paul A. Bristow
cc199a609e Added tests for zero'th order.
(comment in test_ibeta)

[SVN r82972]
2013-02-18 10:23:23 +00:00
Paul A. Bristow
0fc1447ba6 Added test_bessel_airy_zeros to jamfile to allow testers to run it.
(passes on a local test using MSVC and compiles OK on Clang and gcc)

[SVN r82894]
2013-02-14 22:36:52 +00:00
John Maddock
60198aafca Fix raise_rounding_error to return the correct result (and type) when an error occurs.
Fixes #7905.

[SVN r82885]
2013-02-14 18:20:03 +00:00
Paul A. Bristow
bdc220f7ca Updated tests using int m.
[SVN r82881]
2013-02-14 15:54:34 +00:00
Paul A. Bristow
cb0fc34a37 unsigned m changed to int
[SVN r82875]
2013-02-14 14:35:14 +00:00
Paul A. Bristow
95a4479b8d Removed non-ASCII chars #8043. Other tests being added and modified.
[SVN r82868]
2013-02-14 10:26:02 +00:00
John Maddock
76cc581bce Refactor Bessel function code:
* Remove unused dead code.
* Improve and centralise asymptotic selection.
* Reorder algorithm selection in bessel_jy.
* Allow use of integer algorithms for arbitrary order - they're no slower than Steeds method which is also O(n).

[SVN r82816]
2013-02-11 12:12:50 +00:00
Paul A. Bristow
6eb440db06 Increased tolerance to 2 * epsilon for the one cycl_neumann failure, and a note on why.
[SVN r82806]
2013-02-10 12:35:48 +00:00
John Maddock
4d1e810132 Enable better error handling in bessel-zero code.
[SVN r82787]
2013-02-08 17:28:49 +00:00
John Maddock
c8931731c0 Fix parameter order, and change to be a unit test.
[SVN r82784]
2013-02-08 16:26:05 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
2be883f332 Reordered parameters to Bessel and Airy root finders.
Update to docs with references.

[SVN r82764]
2013-02-06 18:53:06 +00:00
Paul A. Bristow
e4c2d969ff Airy tests done.
One failure, perhaps just needing tolerance increasing?

Or is there a mistake?

[SVN r82750]
2013-02-05 14:21:56 +00:00
Paul A. Bristow
bd770b358c More bessel and Lots more neumann tests. I failure at double epsilon airy TODO.
[SVN r82749]
2013-02-05 12:59:09 +00:00
Paul A. Bristow
61797374b3 More tests added for coverage and for new signature. TODO more coverage on neumann, and some edge cases, and parameter order?
[SVN r82733]
2013-02-04 18:03:48 +00:00
Paul A. Bristow
8730f6099a Added airy tests compared to Wolfram and these pass OK.
[SVN r82730]
2013-02-04 14:24:44 +00:00
John Maddock
b86772e095 Tweak airy zero interfaces.
Change output_iterator template param to OutputIterator.
Change iterator based functions to return iterator result.

[SVN r82689]
2013-02-02 17:32:50 +00:00
John Maddock
cd4d475af5 Fix bessel_zero calls to match Chris's new interface.
[SVN r82686]
2013-02-02 12:04:59 +00:00
Paul A. Bristow
4e10dbab66 Drafted some tests for single value Bessel zeros, but domain_error exceptions not right yet.
TODO airy zeros.

[SVN r82680]
2013-02-01 15:44:51 +00:00
Paul A. Bristow
2b8eb7ef38 commented out two tests zztest_max_digits10.cpp and ztest_max_digits10.cpp test for support of max_digits10.
[SVN r82671]
2013-01-31 16:54:31 +00:00
John Maddock
3c1dd01d04 Add Boost.Multiprecision integration concept checks.
Fix errors that result.

[SVN r82656]
2013-01-28 09:32:31 +00:00
John Maddock
e2ce70b935 Fix output iterator usage to meet conceptual requirements.
Remove use of long long constants and change to double as mpfr_class has no conversion from long long :(
Fix typos in math_fwd.hpp.
Add new functions to concept tests.

[SVN r82623]
2013-01-26 12:58:55 +00:00
John Maddock
be17efbc81 Fix long double exp tests - previous test values suffered from loss in precision of inexact input values.
[SVN r82605]
2013-01-25 13:21:58 +00:00
John Maddock
ac8018ab48 Split test_instances lib up into even smaller blocks.
Fix a few gcc-mingw test failures.
Fix typo in spherical harmonic docs.

[SVN r82598]
2013-01-24 17:49:57 +00:00
John Maddock
fd8770b9b5 Modify constants code to return a constant reference when returning a cached value, while still maintaining value semantics and constexpr support for built in types.
[SVN r82585]
2013-01-22 12:16:51 +00:00
John Maddock
77c48bc4b2 Fix some warnings.
Fix edge case in hypergeometric distribution.
Fixes #7429.
Fixes #7891.

[SVN r82520]
2013-01-17 13:27:48 +00:00
John Maddock
a61b5eb7b5 More accuracy improvements based on suggestions by Rocco Romeo.
[SVN r82217]
2012-12-27 08:44:08 +00:00
Paul A. Bristow
5b791ac5b3 Added licence info to files listed in report.
[SVN r81744]
2012-12-06 15:44:24 +00:00
Marshall Clow
5015967f95 Removed missed usage of deprecated macros in Boost.Math
[SVN r81586]
2012-11-27 14:19:45 +00:00
John Maddock
b9e891404a Fix improper overflow error handling in asinh.hpp.
Update asinh and acosh test cases.
Add fixes to release notes and regenerate docs.
Fixes #7416.

[SVN r80695]
2012-09-24 17:16:29 +00:00
John Maddock
068e88fa36 Fix atanh error handling.
Add extra tests to catch above bug.
Fixes #7415.

[SVN r80692]
2012-09-24 16:23:06 +00:00
Paul A. Bristow
d89b599121 Messsages inserted to find closer to line causing trouble on GCC
[SVN r80197]
2012-08-25 10:14:14 +00:00
John Maddock
e5723529c2 Fix remaining GCC and Intel issues for very large v in non-central t.
[SVN r80195]
2012-08-25 09:13:42 +00:00
Paul A. Bristow
b164089abb Added infinite degrees of freedom support and other new tests.
[SVN r80116]
2012-08-21 17:36:09 +00:00
John Maddock
4be8acfe68 Fix numerical stability problem in incomplete beta: ibeta_fraction2 sometimes has catastrophic cancellation errors when a and b are large and x is near 1.
Change non central t series termination conditions to check for divergent series.
Update tests with new larger test values.

[SVN r80065]
2012-08-17 11:18:18 +00:00
John Maddock
bf39b3834a Fix bug in incomplete beta which causes an exception to be thrown in itrunc when one argument is very large.
Fix several similar issue in the non-central T which cause cancellation errors if we let the starting iteration be zero.
Remove dead code that results from above changes.
Minor fixes to table_type and test_next.cpp.

[SVN r80061]
2012-08-16 15:27:40 +00:00
Paul A. Bristow
e650b22aca Reverted to previous version to get back lost content.
[SVN r80028]
2012-08-14 07:56:17 +00:00
Paul A. Bristow
cca8db714e Added (correct) copyright and non-ASCII chars.
[SVN r79977]
2012-08-12 11:24:15 +00:00
Paul A. Bristow
3a39099b41 Added (correct) copyright and non-ASCII chars.
[SVN r79976]
2012-08-12 11:21:31 +00:00
Paul A. Bristow
f2e2e08908 Changed to use
if (typeid(RealType) != typeid(boost::math::concepts::real_concept))
    { // Ordinary floats only.

to avoid failure of previous string name comparison by gcc and other platforms.

[SVN r79921]
2012-08-08 09:26:47 +00:00
Paul A. Bristow
7737ce6a06 Tets for Major update to allow df == +infinity.
[SVN r79912]
2012-08-07 15:56:27 +00:00
Paul A. Bristow
a261d44d3e Test of using the 1/eps to switch to normal distribution.
[SVN r79891]
2012-08-06 16:29:38 +00:00
Paul A. Bristow
c9fde3be32 Back to plan A! not defined for v <= k - no infinity from moments.
(TODO use normal for df = infinity?)

[SVN r79837]
2012-08-01 17:12:00 +00:00
Paul A. Bristow
a2fc557d79 Added comments
[SVN r79835]
2012-08-01 16:37:01 +00:00
Paul A. Bristow
69ba66929d Rebuilt after edits to quiet nags.
[SVN r79834]
2012-08-01 16:32:48 +00:00
Paul A. Bristow
0617e03ad3 Comment out display of pdf(dist, 0.45) and retest skew_normal.hpp
[SVN r79812]
2012-07-31 11:18:11 +00:00
Paul A. Bristow
7930b8b8a4 Explicit boost::math::policies::domain_error; and pole_error to avoid complaint of duplicate declaration by Intel-Darwin-12. (but unclear where a duplicate declaration actually exists).
[SVN r79806]
2012-07-30 19:53:14 +00:00
Paul A. Bristow
571ed0ebaa Further revision of students t tests, making inline to hope to avoid gcc compile problem.
[SVN r79795]
2012-07-29 09:45:42 +00:00
Paul A. Bristow
76c9e6d678 Revised checks on moments and return values.
[SVN r79769]
2012-07-27 15:29:44 +00:00
Paul A. Bristow
9c3898d306 Revised for Trac #7717
[SVN r79760]
2012-07-26 18:04:02 +00:00
Paul A. Bristow
7e54754504 Updated tests to use new macro BOOST_NO_CXX11_NUMERIC_LIMITS
[SVN r79741]
2012-07-25 13:35:27 +00:00
John Maddock
513d4aedfc Fix up Linux x64 tests a little better - note that the test with the FPU in FTZ mode still fail pretty badly, especially with Intel-12.1
[SVN r79576]
2012-07-17 16:54:41 +00:00
John Maddock
c2e90167f7 Tentative fix for issue #4445.
Adds tests for next.hpp when using the SSE2 instruction set in DAZ and FTZ modes.
Note that FTZ mode is particularly pernicious as non-zeros can change to zeros at random points in program flow depending upon the exact instructions generated by the compiler - thus breaking program logic/invariants.
Refs #4445.

[SVN r79572]
2012-07-17 09:22:59 +00:00
John Maddock
c3da72b1b2 Fix typo in Hankel function implementation that causes incorrect values to be returned for x < 0 and v an odd integer.
Add additional Hankel function tests.
Add a couple of missing header inclusion tests.
Update history in docs, and regenerate HTML.
Fixes #7135.

[SVN r79510]
2012-07-14 18:34:01 +00:00
John Maddock
c585419ec2 Allow fpclassify and friends to be used with integer types via the usual promotion mechanism.
Fixes #6517.

[SVN r79438]
2012-07-12 09:51:32 +00:00
John Maddock
b1d516cf49 Fix numeric_limits specialization.
[SVN r79419]
2012-07-11 17:26:05 +00:00
Paul A. Bristow
e339ad75d2 Two temporary tests for which platforms provide numeric_limits max_digits10 and if BOOST_NO_NUMERIC_LIMITS_LOWEST is a suitable macro to check that max_digtsi10 is implemented before using in Boost.Test for radix10 when the Kahan formula is not applicable.
[SVN r79260]
2012-07-04 13:58:56 +00:00
John Maddock
d6236139df Fix for GCC/Linux failure.
[SVN r78790]
2012-06-01 11:58:56 +00:00
John Maddock
fbc849c24e Enhance exponential_distribution tests.
Refs #6934.

[SVN r78784]
2012-05-31 11:58:06 +00:00
John Maddock
6007215c95 Update more distribution tests for fisher_f and extreme_value and fix failures.
Refs #6934.

[SVN r78783]
2012-05-31 11:15:42 +00:00
Paul A. Bristow
b66b890912 Added check out of range
[SVN r78782]
2012-05-31 11:11:21 +00:00
John Maddock
73c9b11179 Update more distribution tests, from Inverse* down to gamma.
Refs #6934.

[SVN r78778]
2012-05-31 10:18:02 +00:00
Paul A. Bristow
ccc3291da6 added check_out_of Range
[SVN r78777]
2012-05-31 09:36:24 +00:00
John Maddock
392fbeeddd Add extra error tests for negative_binomial to laplace distros.
Refs #6934.

[SVN r78773]
2012-05-30 18:15:41 +00:00
John Maddock
41bd4bd442 Update to use new out-of-bounds error checking.
Refs #6934.

[SVN r78771]
2012-05-30 16:52:18 +00:00
Paul A. Bristow
c732b6e85b Corrected comments.
[SVN r78770]
2012-05-30 16:39:37 +00:00
Paul A. Bristow
70868fb2a2 Added out of range checks (and normal.hpp now range infinity if supported.
[SVN r78769]
2012-05-30 16:39:12 +00:00
Paul A. Bristow
c30e63349a Added out of range checks
[SVN r78767]
2012-05-30 16:32:12 +00:00
Paul A. Bristow
a752f9f593 Added out_of_range checks - and corrected beta.hpp for missing () in checks.
[SVN r78764]
2012-05-30 16:28:59 +00:00
Paul A. Bristow
0b6be607ba Explanatory comments added.
[SVN r78762]
2012-05-30 14:21:06 +00:00
John Maddock
d39cf53e86 Update to allow for infinite range.
[SVN r78753]
2012-05-29 18:24:29 +00:00
John Maddock
bc2dc1d4dd Add boilerplate code for testing most domain errors in the distributions.
Update the non-central distributions to make use of it.

[SVN r78751]
2012-05-29 17:43:16 +00:00
Paul A. Bristow
0c5c91f6df Added more tests for bad parameters and non-finites.
[SVN r78748]
2012-05-29 15:58:06 +00:00
Paul A. Bristow
b2e3224cf6 Added more tests that check that nonfinites throw.
[SVN r78746]
2012-05-29 15:38:49 +00:00
John Maddock
3e9242ade2 Improve testing of error conditions and fix any errors detected.
Takes care of distributions normal-weibull.
Refs #6937.

[SVN r78726]
2012-05-28 17:42:50 +00:00
John Maddock
a1789c4766 Tighten Weibull distro tests.
Fix corner cases in Weibull distro.
Fixes #6939.
Fixes #6938.

[SVN r78723]
2012-05-28 16:27:00 +00:00
John Maddock
02787878e6 Update concept checks to unmask issues reported in #6934.
Add some distributions to the concept tests that were missing before.
Add skew_normal_distribution to distributions.hpp.
Fix some errors in calculating custom policies when the defaults have been changed.
Fix the errors and warnings that result from the above.
Refs #6934.

[SVN r78711]
2012-05-28 11:05:43 +00:00
Paul A. Bristow
42e26d7071 Typo and date corrected
[SVN r78578]
2012-05-24 10:44:13 +00:00
John Maddock
382d525d15 Add basic versions of the Airy functions.
Add some extra jacobi, hankel and owens_t tests and fix resulting errors.
Allow remez code to work with expression template types.
Regenerate docs.

[SVN r78527]
2012-05-21 09:45:48 +00:00
John Maddock
7e2f70a685 Fix some gcc-linux test errors and warnings.
Update docs to match.

[SVN r78493]
2012-05-17 10:13:27 +00:00
John Maddock
056745573f Add the Jacobi elliptic special functions.
[SVN r78492]
2012-05-17 09:19:57 +00:00
John Maddock
b9094f3828 Change to use static linking throughout, otherwise things get a little confused.
[SVN r78269]
2012-04-30 14:08:02 +00:00
John Maddock
78fc9fb7d6 Some more IBM C++ fixes.
[SVN r78264]
2012-04-30 11:38:20 +00:00
John Maddock
be93fe3b95 Rename hankel_hX to hankel_X.
Update tests and docs for Hankel functions.

[SVN r78253]
2012-04-29 12:39:28 +00:00
John Maddock
d099a2bbf0 Add first draft of Hankel functions.
Add some Math lib docs that were previously missing.

[SVN r78245]
2012-04-28 17:59:37 +00:00
John Maddock
fe611467f4 Fix up tests to not run real_concept tests when BOOST_MATH_NO_REAL_CONCEPT_TESTS is set.
[SVN r78208]
2012-04-26 15:48:42 +00:00
John Maddock
ac0d76900a Add code to force initialization of constants prior to the start of main().
Rename "do_nothing" to "force_instantiate" which better describes what it does.
Fix up the resulting failures.

[SVN r78193]
2012-04-25 17:16:09 +00:00
John Maddock
ec742b4b80 Merge Owen's T function and Skew Normal code from sandbox and fix whatever failures show up.
Regenerate docs.

[SVN r78130]
2012-04-22 10:23:03 +00:00
John Maddock
ba18f9b7ff Don't declare over-large constants in test_long_double_support.cpp
[SVN r78109]
2012-04-21 08:58:57 +00:00
John Maddock
f149d4cf53 Fix double-definition of float_t in tr1.hpp.
Tweak behaviour of BOOST_MATH_BIG_CONSTANT.
Fix expected error rates for a bunch of tests (mostly on Mingw).
Fix paths in owens_t.qbk.

[SVN r78107]
2012-04-21 08:43:06 +00:00
John Maddock
316a12eccd Update to match latest multiprecision code in sandbox.
[SVN r77847]
2012-04-09 08:40:12 +00:00
John Maddock
84fd5686e7 Update test to determine heuristically how the std lib formats zeros.
[SVN r77516]
2012-03-24 19:30:52 +00:00
John Maddock
d94751ba33 Fix numeric error in bessel_jy.hpp.
Remove some dead code from bessel_jy.hpp.
Add additional test cases for above bug.
Update and regenerate docs to match.

[SVN r77513]
2012-03-24 11:59:21 +00:00
Paul A. Bristow
4e41f09651 Using just _cpp_lib_ to sense dinkumware STL
[SVN r77470]
2012-03-22 08:44:43 +00:00
Paul A. Bristow
98aeaf32a5 1st try to cater for non-dinkumware systems.
[SVN r77430]
2012-03-20 12:36:30 +00:00
Paul A. Bristow
afb318e74f Added platform info to try to ascertain which STL versions are causing unexpected signed zero failures.
[SVN r77332]
2012-03-14 12:28:37 +00:00
Paul A. Bristow
85af75cac9 Commented out test using defaultfloat as only available on TR1 and C++11 platforms.
[SVN r77302]
2012-03-11 12:49:08 +00:00
Paul A. Bristow
4103a19d4e Some comments added.
[SVN r77273]
2012-03-08 18:28:47 +00:00
Paul A. Bristow
4744ac5d37 Added new tests for output of inf and NaNs with various ostream options.
[SVN r77272]
2012-03-08 18:25:06 +00:00
Paul A. Bristow
4a833e85c2 Many more tests added to resolve Trac #6627.
[SVN r77271]
2012-03-08 18:19:19 +00:00
Paul A. Bristow
1383a64f8b Added tests for new constants two_div_pi and root_two_div_pi
[SVN r76822]
2012-02-01 14:02:02 +00:00
John Maddock
6fc9eb72a9 Fix GCC some warnings, plus one failure.
[SVN r76821]
2012-02-01 13:06:17 +00:00
Paul A. Bristow
c6ca03bde1 Added tests for new constants two_div_pi and sqrt_two_div_pi
[SVN r76819]
2012-02-01 12:28:38 +00:00
John Maddock
03ced014ee Fix Linux x64 error rates
[SVN r76754]
2012-01-28 17:59:49 +00:00
John Maddock
682d60c363 Merge new math constants code from the sandbox.
Regenerate docs.
Fix build failures caused by merge.

[SVN r76736]
2012-01-28 12:13:17 +00:00
John Maddock
887f590fcd Refactor the tests some more: allow tables of data to be of a different type to the type being tested - allows us to have tables of POD's (fast to compile) rather than tables of UDT's which compile very slowly on some compilers (usually Intel).
[SVN r76544]
2012-01-16 18:25:02 +00:00
John Maddock
c5bdd41539 Correct overflow logic in Bessel Y and add new test case.
Fixes #6367.

[SVN r76373]
2012-01-08 18:51:23 +00:00
John Maddock
e32fd993bb Add file missed in last commit.
[SVN r76308]
2012-01-04 18:56:48 +00:00
John Maddock
4baef4e354 Refactor tests to make better use of separate file compilation and reduce compile/testing times.
[SVN r76307]
2012-01-04 17:28:50 +00:00
John Maddock
baa9893a6a Add missing file.
[SVN r76191]
2011-12-26 18:15:47 +00:00
John Maddock
af0c106290 Update zeta implementation to use much faster algorithm.
Change zeta test to use external template instances.

[SVN r76092]
2011-12-21 16:07:37 +00:00
John Maddock
381bddafa0 Finish moving test cases into headers.
Fix array declarations so GCC doesn't warn about them.
Declare constants in headers so they can be used by UDT's larger than type long double.
Suppress a few warnings and fix a couple of bugs that showed up when testing with UDT's.

[SVN r75960]
2011-12-15 11:23:35 +00:00
John Maddock
434d53bc83 Fix complex number routines to work with signed zeros, changes involve:
* Use boost::math::signbit rather than comparison to zero.
* Use boost::math::changesign rather than unary negation (unary negation fails for Intel on Linux when the argument is a zero).
* Update to use boost::math::isnan/isinf rather than the old code.
* Update to use boost::math constants.
Fixes #6171.

[SVN r75933]
2011-12-13 18:11:46 +00:00
John Maddock
8d9372fac9 Begin refactoring math lib test cases as template so they can used by other numerical types.
Change constant declarations in the Math lib headers to give full digits when used with UDT's that are constructible from strings.

[SVN r75820]
2011-12-06 09:38:16 +00:00
Paul A. Bristow
4969ee33f6 Corrected test of complement cdf (with Yan Zhou patch).
[SVN r75592]
2011-11-21 12:58:22 +00:00
John Maddock
48e179266b Fix error checking for trunc and round functions.
Update tests to match.

[SVN r74925]
2011-10-12 11:06:09 +00:00
John Maddock
f617e8e284 Change nextafter and related functions to handle infinities as arguments the same way as GLIBC and MSVC.
Fixes #5823.

[SVN r74918]
2011-10-11 17:28:13 +00:00
Gennadiy Rozental
125edbe8e0 eliminated test_case_template.hpp
[SVN r74735]
2011-10-05 10:28:08 +00:00
Gennadiy Rozental
c6190ac181 eliminated unit_test_framework and BOOST_MESSAGE
[SVN r74722]
2011-10-05 09:28:25 +00:00
Paul A. Bristow
299ac65bf3 Uncommented to correct #include pch.hpp mistake.
[SVN r73439]
2011-07-30 11:29:52 +00:00
Paul A. Bristow
3091965c44 Reported ambiguity from detail so made explicit boost::math::constants rather than using using namespace boost::math::constants.
[SVN r73431]
2011-07-29 15:18:01 +00:00
Paul A. Bristow
4e13294bae Corrected wrong test values in uniform cdf complemented.
(and wrong code in uniform.hpp)

[SVN r73359]
2011-07-25 16:47:57 +00:00
Paul A. Bristow
4a23024043 Warning c4511 disabled for 7.1 lexical cast test
[SVN r73354]
2011-07-25 09:29:04 +00:00
Paul A. Bristow
6da378b70e Added comments
[SVN r73352]
2011-07-25 09:26:59 +00:00
John Maddock
57cc822890 Fix name of #include file.
[SVN r72813]
2011-06-30 08:50:24 +00:00
John Maddock
4cf83544cd Add new series evaluation forms for the Bessel J and Y functions.
Also take extra care when evaluating to avoid spurious overflow/underflow.
Changed check_series_iterations to know the real-number type so messages are properly formatted.
Updated docs to match and regenerated.
Fixes #5560.

[SVN r72415]
2011-06-05 16:56:17 +00:00
John Maddock
3b71dc32eb Update Bessel functions to use series representations when x is small compared to v and also to prevent the generation of NaN's in such cases.
Update docs to match.
Fixes #5560.

[SVN r72221]
2011-05-27 17:24:08 +00:00
John Maddock
0129f70e44 Rename to all lower case.
[SVN r71887]
2011-05-12 12:17:06 +00:00
John Maddock
1f6642b388 Add initial version of e_float support.
[SVN r71674]
2011-05-02 18:21:28 +00:00
Paul A. Bristow
a6cea5c497 Complied with min/max requirements.
[SVN r71497]
2011-04-26 08:46:23 +00:00
Paul A. Bristow
99af0cdc27 signbit(static_cast<CharType>(-1e-6f)/std::numeric_limits<CharType>::max())
!= 0
 test used.

[SVN r71444]
2011-04-23 16:50:11 +00:00
Paul A. Bristow
978bf2a3be Added test for signed zero.
[SVN r71442]
2011-04-23 14:19:32 +00:00
Paul A. Bristow
d9c9b37cc9 Comments on checks.
[SVN r71436]
2011-04-23 13:42:39 +00:00
Paul A. Bristow
883c2a513c Added checks for has_infinity ...
[SVN r71435]
2011-04-23 13:37:13 +00:00
Paul A. Bristow
ad9d9921a7 Corrected file locations for trunk and removed tabs).
[SVN r71434]
2011-04-23 13:30:10 +00:00
John Maddock
1982cb4a4c Fix remaining Intel regressions.
Add prototypes to fwd header.
Add new functions to the concept checks.

[SVN r71432]
2011-04-23 08:17:10 +00:00
John Maddock
fb1f3a9bf6 Fix Intel/Linux regressions.
[SVN r71420]
2011-04-22 17:24:53 +00:00
John Maddock
52fac87f09 Added admonishment to signbit docs and regenerates docs.
Fixed test case involving bad assumption about the return value of signbit.
Fixed GCC compiler warnings.

[SVN r71414]
2011-04-22 09:54:36 +00:00
Paul A. Bristow
70adb63c87 Tabs removed, end newlines added, and max/min () to meet inspection report comments.
[SVN r71380]
2011-04-19 18:00:17 +00:00
Paul A. Bristow
5c889b387e New tests for changesign and nofinite facets added. Pass locally on MSVC 10.
[SVN r71369]
2011-04-18 16:18:08 +00:00
Paul A. Bristow
df5809ef5f Johan Rade tests for nonfinites.
[SVN r71368]
2011-04-18 16:12:14 +00:00
Paul A. Bristow
cec402f9b6 More nonfinite tests
[SVN r71296]
2011-04-15 17:52:54 +00:00
Paul A. Bristow
c4c88318e7 Johan Rade tests for nonfinites.
[SVN r71295]
2011-04-15 17:30:20 +00:00
Paul A. Bristow
21441c69df Helper files for nonfinite tests.
[SVN r71294]
2011-04-15 17:29:26 +00:00
Paul A. Bristow
40ab64c0ea Added changesign
[SVN r71285]
2011-04-15 14:58:43 +00:00
John Maddock
5b6c4bfeb6 Change the name of the extern "C" TR1 functions so they no longer clash with (possibly inline) std lib versions.
Fixes #4828.

[SVN r68653]
2011-02-05 10:49:43 +00:00
John Maddock
91471146f1 Fix acosh bug, and update tests and docs accordingly.
Fixes #5113.

[SVN r68421]
2011-01-24 19:04:24 +00:00
Steven Watanabe
3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
a52fce70a8 Reverting some accident changes to a few jamfiles from my last commit.
[SVN r68141]
2011-01-14 02:51:17 +00:00
Bryce Adelstein-Lelbach
f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock
309e2c3ec5 Add support for "mpreal" wrapper for mpfr.
Add concept check for mpreal type.
Add previously missing doc file.
Fix type promotion rules to do the right thing when one type is a class type that's implicitly convertible to a real.

[SVN r67282]
2010-12-17 16:04:51 +00:00
John Maddock
555f3d6736 Improve performance of non-central T by simplifying the arithmetic where possible.
Change error handlers to pass the target type down to "rounding errors".
Change the rounding error handlers to return a well defined value (the maximum representable value in the target type).
Update and complete docs on rounding errors.
Fix typo in test/test_beta_dist.cpp.
Regenerate the docs.
Remove illegal comment from test_constants.cpp.
Fixes #4977.

[SVN r67231]
2010-12-14 19:22:52 +00:00
Paul A. Bristow
7066584f84 Removed inverse_uniform.hpp
[SVN r67221]
2010-12-13 16:46:36 +00:00
Paul A. Bristow
a8167547d8 Test Corrected handling of cases that should raise overflow_error
[SVN r67211]
2010-12-13 16:34:14 +00:00
Paul A. Bristow
c7529cc4da Actually use sqrt(epsilon) in test
[SVN r67210]
2010-12-13 16:32:38 +00:00
John Maddock
4702b2b1c8 Fix test values and *lower* tolerance.
[SVN r67100]
2010-12-08 09:54:59 +00:00
Paul A. Bristow
0d5c831761 Comment on max theoretical accuracy for median which uses Brent's algorithm.
[SVN r67087]
2010-12-07 18:00:54 +00:00
John Maddock
8177da58be Add non-functional stub versions of the skewness and kurtosis to the non-central beta.
Update tests accordingly, and suppress some compiler warnings.

[SVN r66986]
2010-12-03 17:55:00 +00:00
John Maddock
7ff88c69f1 Added concept checks for new distros, and fixed resulting errors.
Added mean and variance to non-central beta.

[SVN r66985]
2010-12-03 16:23:55 +00:00
Paul A. Bristow
b3944c07f0 Increased tolerance for real_concept failure
[SVN r66971]
2010-12-02 12:27:16 +00:00
Paul A. Bristow
22cb5fc9e7 Increased tolerance for realconcept long double failures.
[SVN r66970]
2010-12-02 12:22:58 +00:00
Paul A. Bristow
2559953dd5 Added missing static_cast to quiet warning
[SVN r66969]
2010-12-02 12:19:28 +00:00
Paul A. Bristow
713df8e8f0 Increased tolerance to avoid long double failure
[SVN r66968]
2010-12-02 11:39:55 +00:00
Paul A. Bristow
97471e2e29 Enabled mean, variance ... for dotnetexample (TODO return NaN?)
[SVN r66954]
2010-12-01 18:40:02 +00:00
Paul A. Bristow
4134fa5864 Change test values to long
[SVN r66890]
2010-11-30 11:38:19 +00:00
Paul A. Bristow
3d263c7621 Check before using max_digits10
[SVN r66885]
2010-11-30 10:03:01 +00:00
Paul A. Bristow
e94d8be838 Changed tolerance to explicitly cast 1e-4 to RealType to try to remove gcc long double test failures.
[SVN r66837]
2010-11-29 10:06:52 +00:00
Paul A. Bristow
10129df762 Correction
[SVN r66764]
2010-11-26 10:22:21 +00:00
Paul A. Bristow
2f8b1db494 New test
[SVN r66734]
2010-11-24 16:55:52 +00:00
Paul A. Bristow
904dd93811 New geometric
[SVN r66733]
2010-11-24 16:55:19 +00:00
Paul A. Bristow
2b6205a1c8 New test /test_real_concept_neg_bin.cpp
[SVN r66718]
2010-11-24 16:28:18 +00:00
Paul A. Bristow
4b785900bc Added comment on pch include needed.
[SVN r66717]
2010-11-24 16:27:33 +00:00
Paul A. Bristow
b0eb3cea87 Corrected tests
[SVN r66716]
2010-11-24 16:26:47 +00:00
Paul A. Bristow
ee3db8ad35 Added new distributions.
[SVN r66715]
2010-11-24 16:26:22 +00:00
Paul A. Bristow
f3145ed3d8 Added new distributions.
[SVN r66714]
2010-11-24 16:24:26 +00:00
John Maddock
d37f9ff991 Remove bogus comment.
[SVN r66460]
2010-11-08 17:59:46 +00:00
John Maddock
7cc19b4be2 Added additional test case in hopes of reproducing bug report #4812.
Refs #4812.

[SVN r66454]
2010-11-08 16:30:01 +00:00
John Maddock
35627d741f Fix tests that fail with gcc in C++0x mode.
Add some stricter tests for fp-classification routines.

[SVN r66451]
2010-11-08 12:55:06 +00:00
John Maddock
0d88e28f3e Add a test to verify that our real_concept test code works as it should.
[SVN r66036]
2010-10-17 11:52:24 +00:00
John Maddock
6414e27179 Fix expected failure rates for platforms with no long doubles.
[SVN r65972]
2010-10-15 10:33:13 +00:00
John Maddock
5e2d4a0fa3 Disable long double tests if the config check fails.
[SVN r65971]
2010-10-15 10:30:11 +00:00
John Maddock
60eac640bd Fix warning about unused variable.
[SVN r65713]
2010-10-01 15:53:15 +00:00
John Maddock
bbc5edfe1c Add concept checks for new distributions.
Fix Linux gcc failures for new distributions.

[SVN r65694]
2010-09-30 17:16:14 +00:00
Paul A. Bristow
3da28647bf Added two new distributions.
[SVN r65663]
2010-09-29 09:12:59 +00:00
Paul A. Bristow
c88ec94301 Added more tests.
[SVN r65662]
2010-09-29 09:12:08 +00:00
Paul A. Bristow
aef81aae40 Added explicit #include <cerrno>
[SVN r65661]
2010-09-29 09:10:00 +00:00
Paul A. Bristow
294509bae1 Added comment on location of pch.cpp
[SVN r65660]
2010-09-29 09:08:50 +00:00
Paul A. Bristow
58cc26ac13 Tests for new distribution, including spot values from Mathematica.
[SVN r65659]
2010-09-29 09:08:05 +00:00
John Maddock
b85756d2cc Improve error handling and fix Linux errors.
[SVN r65444]
2010-09-17 18:13:45 +00:00
John Maddock
0c633f0b6e Change the use of tuples, so that we use std::tuple when available.
Fix bug in calculation of initial guess in the incomplete gamma inverse.
Fix illegal comment in inverse_gamma.hpp source file.
Update docs to reflect tuple changes.
Regenerate docs.
Add Jamfile for the tools directory and make sure everything still builds cleanly.

[SVN r65320]
2010-09-06 15:13:23 +00:00
Paul A. Bristow
fda473559c Added test output. OK with typeof recent update.
[SVN r65192]
2010-09-02 11:32:45 +00:00
Paul A. Bristow
17dd598600 Treat x == 0 as special case (some platforms find NaN not 0)
[SVN r65191]
2010-09-02 11:30:49 +00:00
Paul A. Bristow
afe08e4bd5 Comments added.
[SVN r65169]
2010-09-01 17:43:55 +00:00
Paul A. Bristow
c9c18d61af add test of inverse_gamma distributiont
[SVN r64970]
2010-08-23 14:55:22 +00:00
Paul A. Bristow
f52488a504 1st version of test
[SVN r64967]
2010-08-23 11:54:27 +00:00
Paul A. Bristow
8db4067d4a Checked output for VS2010
[SVN r64966]
2010-08-23 11:48:53 +00:00
Paul A. Bristow
d8161bad51 Added comment on pch.hpp include needed.
[SVN r64965]
2010-08-23 11:46:47 +00:00
Paul A. Bristow
bb07710d9f Added comment on pch.hpp include needed.
[SVN r64964]
2010-08-23 11:45:37 +00:00
John Maddock
53d56d58ad Set linkage requirements for cygwin/mingw - fixes #4499.
[SVN r64629]
2010-08-06 09:29:04 +00:00
John Maddock
96f28fa442 Up the tolerance for the new quantile tests, as these fail for sun otherwise.
[SVN r64624]
2010-08-06 08:26:16 +00:00
John Maddock
b11676fa67 Added test cases for issue #4504.
Tidied up inverse-Student's t evaluation a touch.
Fixes #4504.

[SVN r64597]
2010-08-04 15:47:30 +00:00
John Maddock
200b0f7717 Fix cbrt's internal promotion rules.
Update tests to match.

[SVN r62087]
2010-05-18 17:24:01 +00:00
John Maddock
7ab7d21eae Fix failures when used with an expression-template enabled number type such as the gmpxx clases.
Add additional concept check for integer code using gmp classes.
Fixes #4139.

[SVN r61837]
2010-05-07 15:36:09 +00:00
John Maddock
d0d0a58cd4 Add Boost.Build configuration support.
[SVN r61300]
2010-04-15 16:05:39 +00:00
John Maddock
7a7e393485 Fix boost::math::round to handle halfway cases correctly.
Update tests accordingly.
Update boost::math::fmod docs to make sign and rounding direction clear.

[SVN r61252]
2010-04-13 16:50:46 +00:00
John Maddock
b8204db460 Change functions named "check" so they don't conflict with Apple macro of the same name.
[SVN r59162]
2010-01-20 19:17:37 +00:00
John Maddock
1a5044497d Change cbrt implementation to use a better performing algorithm.
Fix a few warnings along the way.

[SVN r59095]
2010-01-17 17:28:34 +00:00
John Maddock
dccd472e40 Simplify code a little, and add diagnostic printout.
[SVN r58888]
2010-01-11 10:46:23 +00:00
John Maddock
1b120ce1eb Add new test, to verify that the the std lib's long double support is OK.
[SVN r58886]
2010-01-11 10:04:43 +00:00
John Maddock
7ad501579e Fix previous commit - it contained some inadvertent changes.
[SVN r58861]
2010-01-10 10:21:08 +00:00
John Maddock
81438d45de Only add the -nologo option for Intel-on-windows compilers.
[SVN r58860]
2010-01-10 10:17:07 +00:00
John Maddock
ba698c2297 Improve ibeta error handling, update and regenerate docs. Update tests.
Fixes #3533.

[SVN r57045]
2009-10-21 15:53:28 +00:00
John Maddock
cc52a19fb4 Improve ibeta error handling, and add new tests.
[SVN r57040]
2009-10-21 12:27:38 +00:00
Troy D. Straszheim
124cd3b8a8 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
John Maddock
21cd5f0d9f Update workarounds for Sun's latest compiler release.
[SVN r56711]
2009-10-11 12:20:21 +00:00
John Maddock
71940bec79 Another round of performance tweaks for issue #3408.
These should make our igamma implementation comparable in performance to the dcdflib FORTRAN routine - at least as far as MSVC is concerned.

[SVN r56503]
2009-10-01 16:03:42 +00:00
John Maddock
8418e9d68e A few more minor performance tweaks for issue #3407.
[SVN r56455]
2009-09-28 17:06:39 +00:00
John Maddock
056d083a2f Changes relating to issue #3408.
Add hooks for the dcdflib to the incomplete gamma tests.
Add hooks for the dcdflib to the igamma performance tests.
Some small performance enhancements.

[SVN r56370]
2009-09-24 11:23:52 +00:00
Troy D. Straszheim
0ae03af3b2 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
John Maddock
ddc103f0cd Disable pch usage for msvc-7.1.
[SVN r55111]
2009-07-23 09:46:52 +00:00
John Maddock
0e7856cfd1 Oops, previous commit was buggy, try again.
[SVN r53339]
2009-05-28 08:53:21 +00:00
John Maddock
3ec19713e6 Add some casts to try and fix gcc-4.4 compiler errors.
[SVN r53177]
2009-05-22 16:14:12 +00:00
Jeremiah Willcock
99b1ee34f7 Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00
John Maddock
db6cc1a0a3 Split test/test_policy_7.cpp into two tests.
Add some macro-expansion-suppression code to test_sign.cpp.

[SVN r52447]
2009-04-17 17:18:31 +00:00
John Maddock
07e7524d42 signbit can return either zero or not, rather than true/false.
[SVN r52248]
2009-04-08 11:31:17 +00:00
John Maddock
a935d5e1cd Updated the sign functions to use Johan Rade's fp-utilities code.
Added tests for the sign functions.
Added docs for the sign functions and moved some sections around.

[SVN r51793]
2009-03-16 13:25:22 +00:00
John Maddock
f6a4cbad2e Misc. small platform specific fixes and expected error rate adjustments.
[SVN r51648]
2009-03-08 10:39:29 +00:00
John Maddock
37fc4f32c3 Add some missing #includes and adjust expected error rates.
[SVN r51611]
2009-03-04 18:25:24 +00:00
John Maddock
2246b77395 Change tests to link to external Boost.Test library as this speeds build times by several factors when building with Intel C++.
Change fpclassify to use our code rather than std::fpclassify with Intel C++ as it doesn't always compile the latter.

[SVN r51576]
2009-03-03 17:16:56 +00:00
John Maddock
f0955f098e We need to import the pch rule.
[SVN r51502]
2009-03-01 12:20:21 +00:00
John Maddock
323a108149 Merges changes from Sandbox version:
MPFR Support.
New distributions: laplace, logistic and hypergeometric.
Added PCH support to the Jamfiles for faster build times.
Added C# usage example.
Updated and regenerated docs.
Also fixes #2799 and updates the tests to catch this failure in future.

[SVN r51455]
2009-02-26 17:34:52 +00:00
John Maddock
5fad227b2a Fix bug in bessel_jn for n == -1.
Add new test case.
Checked that the other Bessel functions do not have the same issue.
Checked that real-valued -1 argument is fixed OK as well as integer argument.
Fixes #2733.

[SVN r51059]
2009-02-06 17:26:30 +00:00
Paul A. Bristow
2c29694e6b Warning suppression
[SVN r50725]
2009-01-22 11:27:34 +00:00
John Maddock
0901fbb44b Fix remaining quantile tests with the hypergeometric.
[SVN r50723]
2009-01-22 10:01:54 +00:00
Paul A. Bristow
b45c54f8c9 Warning suppression
[SVN r50721]
2009-01-22 09:48:57 +00:00
Paul A. Bristow
89afe2f72a Warning suppression
[SVN r50720]
2009-01-22 09:48:27 +00:00
John Maddock
20052dcfa0 Fix some compiler issues, and mostly get the quantiles working better (round-to-nearest now works).
[SVN r50686]
2009-01-20 16:58:52 +00:00
John Maddock
8c3726f69d Added missing distros.
[SVN r50669]
2009-01-19 10:30:10 +00:00
John Maddock
dc392f0b3f Add some previously missing tests, and fix up the remaining concept failures for the new distributions.
[SVN r50658]
2009-01-17 18:14:03 +00:00
Paul A. Bristow
e2bdfc45dc Added check on convenience typedef.
[SVN r50657]
2009-01-17 17:30:53 +00:00
Paul A. Bristow
3d800e6f76 Warning suppression
[SVN r50656]
2009-01-17 17:30:04 +00:00
John Maddock
a635a894c7 Add easier support for mpfr and ntl.
Add laplace to concept tests.
Fix misc. bugs and warnings, from concept tests.

[SVN r50653]
2009-01-17 15:47:50 +00:00
Paul A. Bristow
d15dd45277 warning suppression
[SVN r50633]
2009-01-16 15:44:16 +00:00
Paul A. Bristow
9f9ff8ea76 warning supression
[SVN r50632]
2009-01-16 15:43:55 +00:00
Paul A. Bristow
5fcd8670d7 Warning suppression
[SVN r50630]
2009-01-16 15:40:20 +00:00
John Maddock
30d61923f6 Fix a few bugs, and more test data and update docs.
[SVN r50608]
2009-01-15 12:34:26 +00:00
John Maddock
48bfe15c1a Adjust expected error rate, otherwise test *just* fails on BSD platforms.
[SVN r50405]
2008-12-29 18:24:09 +00:00
John Maddock
bf1461249b Split test/test_nc_beta.cpp into 2 separate tests for the real_concept case.
[SVN r50404]
2008-12-29 18:12:55 +00:00
John Maddock
5a2d1aae79 Split test_policy_2.cpp into multiple smaller tests.
Fix use of long long so that code compiles with g++ -pedantic.
Update docs to match.
Fixes #1451.

[SVN r50403]
2008-12-29 17:55:53 +00:00
John Maddock
df646686e5 Fix expm1 error handling, and add additional tests to verify the correct behaviour.
[SVN r50344]
2008-12-21 13:50:52 +00:00
John Maddock
94181567fa Fix some Sun-5.9 on Linux failures.
[SVN r50341]
2008-12-21 10:23:52 +00:00
John Maddock
8d68670436 More tests, plus fixes for issues that showed up.
[SVN r50340]
2008-12-21 10:14:19 +00:00
John Maddock
017a3cfe64 Added hypergeometric to more tests and to the "include everything" headers.
Suppressed a few warnings.

[SVN r50316]
2008-12-18 13:38:56 +00:00
John Maddock
eb786e1828 Added initial version of hypergeometric distribution.
[SVN r50313]
2008-12-18 12:27:41 +00:00
John Maddock
6a51e23333 Added debugging info to test case.
[SVN r50162]
2008-12-06 16:07:42 +00:00
John Maddock
ae98d17de0 Clarified test case.
[SVN r50135]
2008-12-05 16:08:17 +00:00
Paul A. Bristow
bce2d4e4a7 Added 50 decimal digit NTL test values - and some TODOs - need a few more values tested, and long double test, and test on convenience typedef
[SVN r50067]
2008-12-02 12:46:59 +00:00
Paul A. Bristow
b0c6714dfa warning suppressed in tolerance
[SVN r50066]
2008-12-02 12:45:36 +00:00
Thijs van den Berg
81ae79f9b8 First version of the Laplace distribution unit test
[SVN r49987]
2008-11-28 13:43:18 +00:00
John Maddock
c6462254b6 Fix bug in expected error rates.
[SVN r49817]
2008-11-17 17:10:46 +00:00
Michael A. Jackson
4829421fad Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Paul A. Bristow
afb4451d0a Added #include <pch.hpp>
// Need to compile in MSVC IDE PAB 31 Oct 2008


[SVN r49588]
2008-11-04 17:15:37 +00:00
John Maddock
095e1ebd48 Added a new section on building to the docs.
Added explanatory note to example.
Added examples to test Jamfile.v2.

[SVN r49534]
2008-11-02 13:45:37 +00:00
Michael A. Jackson
abc4d313b4 Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
John Maddock
e9a6165bd2 Added test_logistic_dist.cpp.
[SVN r49490]
2008-10-30 15:41:48 +00:00
John Maddock
c15b211f2f Integrated lognormal distro into the concept check tests.
[SVN r49486]
2008-10-29 13:42:53 +00:00
John Maddock
74559257f6 Added logistic distribution.
[SVN r49485]
2008-10-29 13:10:08 +00:00
John Maddock
eb9b7a8839 Improve pch support.
Move configuration tests to their own directory so they're only run when required.

[SVN r49442]
2008-10-23 12:24:45 +00:00
John Maddock
cddabd5ab1 Fix inspection report issues.
[SVN r49282]
2008-10-11 15:46:53 +00:00
John Maddock
1169a0b20f Fixes for Sun C++ on Linux.
[SVN r49141]
2008-10-06 12:43:46 +00:00
John Maddock
df7ad868e7 Added mpfr docs, and updated the NTL usage docs.
Updated bindings tests to run automatically when the appropriate libraries are present.

[SVN r49110]
2008-10-02 09:37:29 +00:00
John Maddock
6f07ae4be5 Add support for ellint_3 in the difficult previously unsupported region.
[SVN r48899]
2008-09-19 16:42:41 +00:00
John Maddock
5cb4de411a Added mpfr support, and updated NTL::RR support.
Added concept checks for those.
Added type casts where required to get mpfr_class support working OK.

[SVN r48737]
2008-09-11 17:58:11 +00:00
John Maddock
710c7ca47d Split files into smaller tests.
Fixes #2307.

[SVN r48682]
2008-09-09 12:10:11 +00:00
John Maddock
66d109e1b3 Break the test_binomial_real_concept test into 7 parts to reduce memory consumption.
[SVN r48667]
2008-09-08 17:55:36 +00:00
John Maddock
f0ee51464c Update expected error rates for 80-bit long double platforms.
[SVN r48422]
2008-08-28 16:07:08 +00:00
John Maddock
2459d0f2a6 Merged changes from sandbox, and regenerated the docs.
[SVN r48294]
2008-08-22 12:51:40 +00:00
John Maddock
3f6394139c Merge changes from Trunk.
[SVN r48293]
2008-08-22 12:33:21 +00:00
John Maddock
394ed0afef Fixes for gcc compilation.
Added sanity checks to tests.

[SVN r48289]
2008-08-22 08:51:22 +00:00
John Maddock
c9e8b4d192 Updated inverse hypergeometric functions with better tests and more accurate implementation.
[SVN r48250]
2008-08-20 11:02:05 +00:00
John Maddock
0b5078c52e strengthen tests to include isnormal/isfinite/isnan etc.
[SVN r47706]
2008-07-23 12:44:23 +00:00
John Maddock
2501ff283e Fix for std libs that don't have denorm support in numeric_limits.
[SVN r47421]
2008-07-14 16:22:03 +00:00
John Maddock
a8e2c5f910 Fix a few regressions with compiler/platform specific workarounds.
[SVN r47420]
2008-07-14 15:26:44 +00:00
John Maddock
0d9b1d9dbd Tweak expected error levels.
[SVN r47417]
2008-07-14 08:55:29 +00:00
John Maddock
19abd457f2 Fix use of isnan.
[SVN r47416]
2008-07-14 08:51:13 +00:00
John Maddock
d816b0e2ff Merge changes from the Sandbox to Trunk.
Rebuilt docs.

[SVN r47080]
2008-07-04 17:14:37 +00:00
John Maddock
f284acaf50 Merge changes from Trunk.
[SVN r47079]
2008-07-04 17:08:58 +00:00
Daniel James
08dc16b22f Replace a couple of non-ascii symbols.
[SVN r46943]
2008-07-01 09:58:27 +00:00
John Maddock
04656e4196 Fix more inspect report issues, and regenerated the docs.
[SVN r46839]
2008-06-29 09:02:05 +00:00
John Maddock
51eb4de2bb Remove/replace non-ASCII characters.
[SVN r46815]
2008-06-28 16:59:59 +00:00
John Maddock
198f567a86 Fix some inspection report issues: mainly copyright declarations.
[SVN r46806]
2008-06-28 11:25:11 +00:00
Bruno Lalande
e01cbc1c38 Fixed tests involving NaN and infinity.
[SVN r46210]
2008-06-07 11:28:00 +00:00
Bruno Lalande
285615995e Changed undeterminate to indeterminate.
[SVN r46206]
2008-06-06 23:57:24 +00:00
Bruno Lalande
73b62fc8b9 Completed policies and error handling test cases.
Sanitized floating point test values in pow tests.

[SVN r46205]
2008-06-06 22:33:39 +00:00
Bruno Lalande
7fbf7dd47f Added undeterminate_result_error, and used it for the pow<0>(0) case.
[SVN r46182]
2008-06-05 22:03:27 +00:00
John Maddock
4a4271a594 Added missing #include.
Prevented macro substitution of fpclassify.

[SVN r45913]
2008-05-29 16:03:26 +00:00
John Maddock
396f854d6f Split test_tr1 into two: one for long double, and one for float and double types.
[SVN r45645]
2008-05-22 11:23:57 +00:00
John Maddock
211d58523c Rename some of the extern "C" C99 functions so we don't get infinite recursion.
Disabled long double testing when not available.

[SVN r45550]
2008-05-19 18:03:09 +00:00
John Maddock
4ce850dd8c Merged additions/changes from the Sandbox to Trunk.
[SVN r45482]
2008-05-18 09:18:22 +00:00
John Maddock
0aa1a09902 Merged changes from Trunk.
[SVN r45478]
2008-05-18 08:29:50 +00:00
John Maddock
f66efdf48f Fix some of the small constants.
Adjust expected error rate.

[SVN r45437]
2008-05-16 17:20:01 +00:00
John Maddock
b13d51b1fe Added float_advance + docs.
Changed pow<N> to reduce the number of template instantiations.

[SVN r45357]
2008-05-14 18:35:52 +00:00
John Maddock
721d6a0d62 Fixed float_next and added extra tests to detect the bug.
Fixed expected assoc_legendre results.

[SVN r45332]
2008-05-13 16:43:46 +00:00
John Maddock
2d19ade9fd Made float_distance return a signed value.
Added docs for float_next etc.
Updated test_next to cope with signed results.
Added informational output to test_tr1.

[SVN r45220]
2008-05-08 17:14:17 +00:00
John Maddock
2986ee8bf6 Renamed next_* functions to float_*.
[SVN r45216]
2008-05-08 16:16:51 +00:00
John Maddock
5ebe9d5b2f Split TR1 library build into separate libraries for C99 and TR1, plus separates for float/double/long double etc.
Added concept check for TR1 header.
Added basic runtime check for TR1 header.

[SVN r45215]
2008-05-08 16:09:30 +00:00
John Maddock
d7e23fd2a4 Added first cut of nextafter family of functions.
[SVN r44878]
2008-04-29 12:01:22 +00:00
John Maddock
6012b10c87 Changed long long to boost::long_long_type and unsigned long long to boost::ulong_long_type.
A couple of other typo corrections, to get the code compiling with g++ -pedantic.

[SVN r44877]
2008-04-29 10:05:11 +00:00
John Maddock
ffbb796900 Apply VC-7.1 fixes: sometimes ADL fails, and we need a using declaration in order for the correct overload to be found.
Add missing #include. to t_distribution_inv.hpp.
Suppress unnecessary instantiations in instantiate_all.cpp.

[SVN r44748]
2008-04-24 09:40:31 +00:00
John Maddock
3ccbd30ab3 Merged patches from Trunk.
[SVN r44695]
2008-04-21 13:04:30 +00:00
John Maddock
bde28692c3 Moved real_concept and std_real_concept overloads of the rounding and truncation functions into the same namespace as the classes so that they can be found via ADL.
Updated the tests to cope with the change.
Updated library configuration to cope with the change.
Made sure that the rounding and truncation functions are all correctly forward declared.

[SVN r44612]
2008-04-20 10:58:20 +00:00
John Maddock
ade4cc09c4 Removed command line options that screw up Intel on Darwin.
Added warning suppression to code instead.

[SVN r44533]
2008-04-18 10:03:46 +00:00
John Maddock
9860b40aca Try and fix the remaining Intel-Linux failures.
[SVN r44507]
2008-04-17 16:21:04 +00:00
John Maddock
8e5072e556 Try and fix one remaining zeta test failure.
[SVN r44435]
2008-04-15 17:35:07 +00:00
John Maddock
74b36956cb Fix error rates on Mac OS X.
Fix long double support for pow_test.cpp.

[SVN r44433]
2008-04-15 17:10:18 +00:00
John Maddock
29ebccba73 Attempt fix for Intel on Darwin failures.
[SVN r44432]
2008-04-15 16:36:21 +00:00
John Maddock
c05ff98898 Fix IBM AIX compiler errors.
[SVN r44431]
2008-04-15 16:32:28 +00:00
John Maddock
6c50f2e966 Remove test row that causes problems for VC-7.1 due to a compiler bug.
[SVN r44352]
2008-04-12 16:42:28 +00:00
John Maddock
d6071aded4 Fix declaration order in dist_nc_beta_incl_test.cpp test.
Fix long long usage in sf_modf_incl_test.cpp.
Adjust failure rates in test_zeta.cpp to cope with HP aCC and 128-bit long doubles.

[SVN r44351]
2008-04-12 16:28:57 +00:00
John Maddock
7fd387031c Update tolerance used for skewness test.
[SVN r44189]
2008-04-11 18:12:02 +00:00
John Maddock
4f7c4cfc24 Update error levels for real_concept tests.
[SVN r44188]
2008-04-11 18:08:59 +00:00
John Maddock
1e4560e42b We don't need duplicate using declarations.
[SVN r44187]
2008-04-11 17:57:58 +00:00
John Maddock
fdda9b8350 Disable long double tests on unsupported platforms.
[SVN r44186]
2008-04-11 17:54:47 +00:00
John Maddock
669bfb3991 Merged changes from sandbox to Trunk:
New special functions for truncation and rounding, plus exponential integrals and zeta.
New non central distributions.
Updated equation png's so that they are all consistent.

[SVN r44091]
2008-04-07 15:58:51 +00:00
John Maddock
1b7401b4c0 Merged changes from Trunk.
[SVN r44090]
2008-04-07 15:43:09 +00:00
John Maddock
d02ae84866 Added new pow function from Bruno Lalande.
Fixed a few bugs in the non-central distro's that could cause infinite looping.
Added non central distros to the performance test app.

[SVN r43800]
2008-03-23 10:32:21 +00:00
John Maddock
c4eb8bfc55 Regenerated graphs: bar graphs now have a fill!
Added new tests for non-central distributions.
Added new tests for rounding/truncation functions and fixed the bugs exposed by them.
Deleted no-longer used graph and equation files.

[SVN r43529]
2008-03-06 16:32:02 +00:00
John Maddock
190c26240b Added non central distros to fwd.hpp.
Tightened up error handing in the NC beta and T.
Added NC T docs and equations.
Updated NC T tests.

[SVN r43401]
2008-02-23 09:52:40 +00:00
John Maddock
5e22dad52e Added non-central T to distributions.hpp.
Updated generic_mode to use additive stepping where appropriate.
Improved NC-Beta PDF calculation and termination conditions.
More or less got non-central T finished off: quantiles now work, PDF and mode almost correct.
Fixed typo in toms748_solve.hpp
Updated NC-T tests to include mode and quantile.

[SVN r43333]
2008-02-20 18:11:43 +00:00
John Maddock
3e6b00970c Added some fixes to check for iterations >= the limit rather than ==.
Added extra common error handler.
Factored out some generic quantile code.
Killed some warnings in NC Beta.
Added initial non central T.
Fixed a few doc typos.
Added initial NC T tests.


[SVN r43324]
2008-02-19 16:52:02 +00:00
John Maddock
25f51c8bee Fix min/max usage violation.
[SVN r43145]
2008-02-07 10:13:31 +00:00
John Maddock
8e6ce7d00c Made the non-central chi-squared PDF more robust.
Set generic mode calculation to throw if the original guess yields a zero PDF.
Updated tests to match.

[SVN r43098]
2008-02-04 18:57:37 +00:00
John Maddock
698f280920 Added non central F distribution.
Tidied up non-central beta and Chi squared distribution by factoring out common generic-mode code.
Updated RR bindings.

[SVN r43075]
2008-02-03 17:17:32 +00:00
John Maddock
d047251208 Added non central beta docs.
Added script to auto-generate images from the .mml files.
Updated nc-beta tests for correct error rates and hooks to test R library.

[SVN r43032]
2008-01-31 10:57:30 +00:00
John Maddock
38e3301e09 More or less finished off the non central beta.
[SVN r43020]
2008-01-30 12:42:26 +00:00
John Maddock
b45ba0d428 Added initial commit of non-central beta distribution: CDF and quantile work OK, but nothing else!
[SVN r42999]
2008-01-28 18:29:37 +00:00
John Maddock
50c6a15594 Adjusted error levels for non-central chi square for Minwg support.
Added rounding_error to docs.

[SVN r42925]
2008-01-23 13:14:22 +00:00
John Maddock
928b8d8a63 Added error handling to the rounding functions.
Added better error handling to the non-central chi squared, and updated the tests.

[SVN r42920]
2008-01-23 10:41:06 +00:00
John Maddock
c73de6a963 Finish off Noncentral Chi Squared docs: except for a graph.
Update tests to cope with other platforms.
Disabled a few tests that can never pass.
Added nccs to concept checks.
Added warning fixes and special case handling to implementation.

[SVN r42849]
2008-01-18 16:35:56 +00:00
John Maddock
8081dc49df Commit of more or less complete non-central chi-square distribution: docs still to come.
[SVN r42820]
2008-01-16 19:02:45 +00:00
John Maddock
4786b056bb Added non-central chi squared test data.
[SVN r42770]
2008-01-14 17:30:00 +00:00
John Maddock
fe3db87cc4 Change concepts classes so they can be used when there is no long double support.
Added first cut of the non-central chi squared distribution.
Removed almost all occurrences of real_cast: replaced with calls to the truncation/rounding functions instead.

[SVN r42744]
2008-01-14 09:27:44 +00:00
John Maddock
db2ffd21c2 Added trunc, round and fmod family of functions.
[SVN r42244]
2007-12-22 19:01:37 +00:00
John Maddock
6104708968 Added testing-hooks to other libraries (Fortran ones mainly).
Updated docs accordingly.

[SVN r42173]
2007-12-19 18:50:39 +00:00
John Maddock
b27b39532b Added expint docs.
Updated zeta and expint tests with hooks for other libraries.
Added #pragma once to header files.

[SVN r42140]
2007-12-18 18:32:50 +00:00
John Maddock
77df75a1c3 Disable long double tests if there's no long double support.
[SVN r42078]
2007-12-15 18:29:29 +00:00
John Maddock
d1c0d26e25 Fix bad comments in test files.
[SVN r42035]
2007-12-14 16:36:40 +00:00
John Maddock
fc5f875671 Fixes #1454.
Previous fix was incomplete, so added new tests, confirmed problem report, and added fixes.

All the tests now compile cleanly with g++ -pedantic -Wall -Wno-long-long (checked with gcc-4.4.1 and 3.4.4).

[SVN r42012]
2007-12-13 18:45:58 +00:00
John Maddock
128f2adc14 Fixes #1454.
[SVN r41966]
2007-12-11 16:37:22 +00:00
John Maddock
ab9017cf29 Added expint and zeta functions, plus tests.
Fixed ntl::RR iostream operators.
Updated minimax program with zeta and expint approximations.

[SVN r41958]
2007-12-10 18:35:56 +00:00
John Maddock
73c76aad6d Fix IMB xlc error limits, added workarounds where these were missed by the last commit.
[SVN r41200]
2007-11-18 12:24:42 +00:00
John Maddock
99ae15a9cc Ooops: previous commit broke platforms/compilers with no long double support, added workaround as fix.
[SVN r41193]
2007-11-18 10:07:14 +00:00
John Maddock
b3a3f39802 Ooops, check on wrong index, now fixed.
[SVN r41169]
2007-11-17 10:00:43 +00:00
John Maddock
605c55e00e Added workarounds for IBM xlc C++: the compiler can't resolve an overloaded function template to a function pointer unless the template arguments are explicitly provided.
Fixed some bugs uncovered by the above workaround: some forward declarations didn't match the actual definition!
Hopefully fixed remaining Sun compiler issues: mostly fixed by above fixes anyway.

[SVN r41142]
2007-11-16 11:30:43 +00:00
John Maddock
e7db05cc1a Merged changes from Trunk.
[SVN r41085]
2007-11-14 12:11:23 +00:00
John Maddock
4efbfe4d7c Adjust test logic to cope with compilers that don't underflow constants to zero when they should.
[SVN r41026]
2007-11-12 10:00:46 +00:00
John Maddock
69031ebe9d Added static assertion to catch use of long double function overloads when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
Made sure that if BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined, then no long double overloads are actually instantiated by the tests.

[SVN r41007]
2007-11-11 14:05:50 +00:00
John Maddock
6aa3c20c23 Fixes for IBM xlc: ensure that functions that are also macros are correctly protected against macro expansion.
[SVN r40971]
2007-11-09 18:42:46 +00:00
John Maddock
bf1404a2df Improved error messages and added tentative fixes for HP Tru64: the compiler appears to store constants that should underflow to zero as a small non-zero values which messes up the logic used in the test cases.
[SVN r40963]
2007-11-09 11:01:45 +00:00
John Maddock
6843b20e88 Still trying to get the Solaris error rates correct....
[SVN r40960]
2007-11-09 09:54:43 +00:00
John Maddock
2b88b46284 Disabled use of long double when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
Disabled special-double precision error rates when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.


[SVN r40882]
2007-11-07 11:59:39 +00:00
John Maddock
599b5c958e Change test (again) so that the range of values tested matches original test: last change started testing more extreme input values, which caused regressions on Mac OS X.
[SVN r40881]
2007-11-07 11:50:02 +00:00
John Maddock
6d29a297d7 Fix for Mac OS error rates.
[SVN r40847]
2007-11-06 17:21:28 +00:00
John Maddock
96b43ca1bd Still trying to get those Solaris error rates correct.
[SVN r40845]
2007-11-06 17:09:33 +00:00
John Maddock
d199b59ef0 Still trying to get the Solaris error rates correct.
[SVN r40844]
2007-11-06 17:02:26 +00:00
John Maddock
b020bede18 Changed test so that input values are exact binary values to fix failure at float precision.
[SVN r40781]
2007-11-05 12:08:39 +00:00
John Maddock
325a076259 Still trying to get Mac OS error rates correct...
[SVN r40771]
2007-11-05 09:33:31 +00:00
John Maddock
098513f585 Added workaround for Sunpro not compiling the traits classes.
Added workaround for platforms where numeric_limits<>::denorm_min() does not return a denorm!
Updated Solaris error rates.

[SVN r40727]
2007-11-03 18:32:54 +00:00
John Maddock
6865851961 Try again to fix Darwin failure: the wrong error limit is currently being found.
[SVN r40720]
2007-11-03 12:43:41 +00:00
John Maddock
25a040f5c2 Hopefully, take care of the remaining Tru64 failures: adjust >= test to > in some of the tests, and fix one expected error level for the incomplete beta function.
[SVN r40719]
2007-11-03 12:36:55 +00:00
John Maddock
b2ac0a2925 Fixes for Mac OS X on PowerPC Darwin.
[SVN r40684]
2007-11-02 13:02:41 +00:00
John Maddock
d112d855f2 Some minor tweaks to support Sun's compiler on Linux.
[SVN r40678]
2007-11-02 08:59:24 +00:00
John Maddock
2426ea735d Still more tweaks to try and figure out why this fails on Tru64.
[SVN r40636]
2007-11-01 10:17:49 +00:00
John Maddock
20ba1ae426 Try and get better error messages to debug Tru64 failures.
[SVN r40623]
2007-10-31 12:43:10 +00:00
John Maddock
b7decbd587 split test_policy into 2 to reduce compile times.
Added expected error rates for Mac OS X on Intel.

[SVN r40522]
2007-10-28 11:07:14 +00:00
John Maddock
163ea7eaa6 Set expected error limits for HP Tru64.
Prevent very extreme-value round-trip tests from being run.

[SVN r40500]
2007-10-27 11:32:30 +00:00
John Maddock
909bd2b39f Try and work around a Tru64 overload resolution bug.
[SVN r40484]
2007-10-26 18:12:28 +00:00
John Maddock
1d90f73246 Fix HPUX error levels: reordered expected failure rates so that they still work when largest_real == double.
[SVN r40401]
2007-10-24 08:49:06 +00:00
John Maddock
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +00:00
John Maddock
3313f991c0 Fixes for the Sun-5.9 compiler: don't try and encode constants smaller than LDBL_MIN, the compiler chokes on it.
Fixes for STLport: long double stream operators are broken (streaming in appears not to work at all, streaming out can segfault if the value is too small).

[SVN r40083]
2007-10-16 15:41:57 +00:00
John Maddock
4ba0027365 Fixed lots of "inspect" issues: bad hyperlinks, tabs in source and missing licenses.
Tweaked some error levels again.

[SVN r40079]
2007-10-16 09:32:28 +00:00
John Maddock
135081f081 Renamed two over-long files
simplified test_compile_result.hpp so hopefully Sunpro can cope with it.
Modified Jamfile to static link to regex lib on Sun.
Adjusted Solaris expected error levels.

[SVN r40012]
2007-10-14 12:54:49 +00:00
John Maddock
b6aa138a79 Fixed most of the remaining Borland issues, and removed dependency to Boost.Lambda.
Added tentative fix for the Sunpro compilers.

[SVN r39971]
2007-10-13 16:23:18 +00:00
John Maddock
f51e500eea Lots of Borland specific patches: quite a few of the special-function tests do now do actually pass.
[SVN r39958]
2007-10-12 10:01:36 +00:00
John Maddock
d4c1bb24c7 Added Compaq CXX long long workaround to real_concept.hpp.
Added missing forward declaration to ellint_1.hpp.
Adjusted native log1p support for aCC.
Removed bad forward declaration of fpclassify: correct declaration appears later in the file.
Adjusted compile_test/test_compile_result.hpp to not return a NULL reference.
Adjusted permitted error-limits for new platforms.
Split some of the tests into smaller units so we don't get compiler timeouts when building (hopefully!)

[SVN r39893]
2007-10-10 16:05:26 +00:00
John Maddock
3cb6098751 Adjusted limits for Win64 and Sun OS.
[SVN r39881]
2007-10-10 09:28:48 +00:00
John Maddock
fbef4e1906 More Borland workarounds.
[SVN r39854]
2007-10-09 18:11:17 +00:00
John Maddock
1c2234f016 A few fixes to keep Borland happy.
[SVN r39843]
2007-10-09 14:49:37 +00:00
John Maddock
772c8ae7ca Initial math-toolkit commit.
Includes all code and tests, but no docs yet.

[SVN r39792]
2007-10-08 16:58:15 +00:00
John Maddock
84dc707e2a Misc fixes for minimal Borland support.
[SVN r39779]
2007-10-08 09:46:32 +00:00
John Maddock
8e727140a4 Disable some Intel warnings.
[SVN r39713]
2007-10-05 17:04:58 +00:00
John Maddock
700ea50732 Fixes for VC-7.1.
[SVN r39478]
2007-09-22 17:00:29 +00:00
John Maddock
3d9e81a67e Added needed using declaration to cauchy.hpp.
Added needed #include to config.hpp.
Tightened up compile-tests.
Fixed compile tests so they build with VC++ earlier than VC8sp1.

[SVN r39471]
2007-09-22 09:17:21 +00:00
Paul A. Bristow
76814e7e00 Warning squashing and estimate to find
[SVN r39453]
2007-09-21 17:39:55 +00:00
John Maddock
a744bdaed0 Hopefully fixed test to make it compatible with earlier VC++ versions.
[SVN r39422]
2007-09-20 18:22:32 +00:00
Paul A. Bristow
a434f88dca Yet more error suppression
[SVN r39411]
2007-09-20 13:24:33 +00:00
Paul A. Bristow
e86d2c339c warning suppression with comment - constant too big for float.
[SVN r39403]
2007-09-20 11:39:30 +00:00
Paul A. Bristow
03f951e92f Warning suppression
[SVN r39390]
2007-09-19 15:55:17 +00:00
Paul A. Bristow
1b20b57b12 warning suppression by comment unused name name, and casting T(0.1) to avoid warning C4244: 'argument' : conversion from 'double' to 'const
[SVN r39389]
2007-09-19 15:44:45 +00:00
Paul A. Bristow
7f0f982774 changed to use
if((boost::math::isinf)(x))
{
  if(x < 0) return 0;
  return 1;
}
 to get rid of 4127 warnings

but still need to supress 4127

[SVN r39346]
2007-09-17 10:08:11 +00:00
Paul A. Bristow
b82be99b65 added test to suit addition of special caese x = infinity for pdf and cdf
[SVN r39319]
2007-09-16 15:19:00 +00:00
Paul A. Bristow
345ed64d89 added test to suit addition of special caese x = infinity for pdf and cdf
[SVN r39318]
2007-09-16 15:18:36 +00:00
Paul A. Bristow
ab3bb22857 various corrections.
[SVN r39317]
2007-09-16 15:17:08 +00:00
Paul A. Bristow
0b2ddcb5bf added find_scale and w4127 suppress
[SVN r39316]
2007-09-16 15:15:51 +00:00
Paul A. Bristow
173a541bf4 tests changed to allow pdf and cdf infinity.
[SVN r39311]
2007-09-16 10:10:31 +00:00
Paul A. Bristow
9d6e4b4f7c added tests for new checks on bad arguments like scale <=0
[SVN r39208]
2007-09-12 09:39:07 +00:00
Paul A. Bristow
b0202394cc 1st version of test find scale
[SVN r39185]
2007-09-10 17:52:02 +00:00
John Maddock
3321e0a76c Another attempt to fix Mac OS failures: previous pp-logic didn't work for some reason.
[SVN r39083]
2007-08-31 09:16:54 +00:00
John Maddock
d0aa223204 Added some type traits so we can do concept checking where required.
Updated find_location to use the traits.
Added tests for traits.hpp.
Updated Jamfile.v2 with new tests.

[SVN r39076]
2007-08-30 17:08:46 +00:00
Paul A. Bristow
7a9488f295 tests now pass.
[SVN r39070]
2007-08-30 14:04:19 +00:00
John Maddock
734bd76656 Updated expected results for Mac OS X.
[SVN r39067]
2007-08-30 10:14:57 +00:00
John Maddock
8e8a88b748 Fix include form.
[SVN r39059]
2007-08-29 18:32:00 +00:00
John Maddock
afc7ea301b Fix mingw regression.
[SVN r39055]
2007-08-29 17:15:54 +00:00
John Maddock
7db8540a18 Suppressed some gcc warnings.
[SVN r39053]
2007-08-29 16:38:13 +00:00
Paul A. Bristow
dbaae571f8 corrected tests.
[SVN r39051]
2007-08-29 14:10:31 +00:00
John Maddock
95559eb26a Updated isnan so that it works even when the system does a "#define isnan isnan".
Updated Jamfiles to reflect new file names, and suppress some more warnings.

[SVN r39031]
2007-08-28 12:34:14 +00:00
John Maddock
5721a19032 Renamed over-long files and sections.
[SVN r38972]
2007-08-26 18:40:16 +00:00
Paul A. Bristow
60c09aa988 Start of tests - but complement doesn't work.
[SVN r38966]
2007-08-26 16:36:17 +00:00
Paul A. Bristow
c661dbbcd0 added test for synonyms location & scale for mean & sd
[SVN r38926]
2007-08-25 09:03:02 +00:00
John Maddock
bb1931edec Changed "policy" directory to "policies" to match the namespace name.
[SVN r38780]
2007-08-20 12:43:32 +00:00
John Maddock
be2ccd4e73 Fixed Cygwin failures.
[SVN r38713]
2007-08-16 13:07:32 +00:00
John Maddock
e6a8118e0c Fixed a few more regressions, and quashed a few warnings.
[SVN r38712]
2007-08-16 12:22:22 +00:00
John Maddock
6d5fb5a5d6 Updated include tests, to instantiate the respective code. Fixed any errors that cropped up and suppressed rather a lot of warnings.
Updated docs as well.

[SVN r38692]
2007-08-15 18:31:18 +00:00
John Maddock
c3ffe27f16 Changed the name of some of the discrete quantile policies, and more or less finished the policy tutorial.
[SVN r38609]
2007-08-12 09:24:08 +00:00
John Maddock
f46595c9b1 More or less finished policy tutorial.
Trivial whitespace change to test_negative_binomial.cpp.

[SVN r38504]
2007-08-08 10:48:10 +00:00
John Maddock
b10841e3be Added another example to the policy tutorial.
Fixed \n warnings in the issue list.
Suppressed some Intel compiler messages.

[SVN r38445]
2007-08-04 18:13:04 +00:00
Paul A. Bristow
3567a4e5ba After changes to permit MS extensions
[SVN r38419]
2007-08-03 13:22:41 +00:00
John Maddock
e2e94afe64 Minor fix to previous policy update.
Lots of warning suppression.
Updated docs, and added the start of a policy tutorial.

[SVN r38415]
2007-08-03 13:14:29 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
Douglas Gregor
d39e962ee0 Fix eol-style and mime-types
[SVN r7564]
2007-07-27 00:28:00 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
Paul A. Bristow
e004a13880 AddAdded author, copyright and license info
[SVN r7477]
2007-07-19 09:19:46 +00:00
Paul A. Bristow
bbfec301f8 added a missing L to constant test value.
[SVN r7430]
2007-07-14 17:51:12 +00:00
Paul A. Bristow
4a0135fcb8 Added lots of L to constant test values.
[SVN r7429]
2007-07-14 17:50:36 +00:00
Paul A. Bristow
b98cb0eb6d Increased tolerance from tol2 to tol5
[SVN r7428]
2007-07-14 11:36:35 +00:00
Paul A. Bristow
e0cbf9ca6b added test_pareto
[SVN r7427]
2007-07-14 11:30:14 +00:00
Paul A. Bristow
4d8bf6ec1c corrected missing ()before max, but NOT test tolerances yet.
[SVN r7425]
2007-07-14 11:20:50 +00:00
John Maddock
773de91f0b Made comment more descriptive.
[SVN r7356]
2007-07-04 12:46:13 +00:00
Paul A. Bristow
58f815255e Spelling and warning suppression
[SVN r7166]
2007-06-26 13:30:25 +00:00
John Maddock
9954b8abb2 Re-factored rational function tests to make them easier to compile.
[SVN r7109]
2007-06-20 12:38:41 +00:00
John Maddock
28a4611234 Undone mistaken policy commits.
[SVN r7108]
2007-06-20 11:28:54 +00:00
John Maddock
d4f55faf3a Removed reference to non-existent file
[SVN r7107]
2007-06-20 11:23:12 +00:00
John Maddock
e7ce659c50 Test update
[SVN r7098]
2007-06-19 10:12:26 +00:00
John Maddock
3630826faa Ooops, removed reference to targets that don't exist.
[SVN r7091]
2007-06-18 18:24:48 +00:00
John Maddock
d2c0d61650 Initial policy code tests
[SVN r7087]
2007-06-17 16:31:04 +00:00
John Maddock
2b9048a2e8 Added an option to disable the "real_concept" tests: these take effectively "forever" to build in release mode with some compilers.
[SVN r7085]
2007-06-17 15:48:25 +00:00
Douglas Gregor
f98b790432 Set MIME types and end-of-line styles globally
[SVN r7018]
2007-06-12 22:09:40 +00:00
John Maddock
80adc569d1 Up the error rate slightly.
[SVN r4488]
2007-06-07 17:40:03 +00:00
John Maddock
82bdcd7867 Added one missing file, deleted one dead file.
[SVN r4454]
2007-06-05 11:51:31 +00:00
Paul A. Bristow
6a6e672f3a added warning suppression
#  pragma warning(disable: 4245) // int/unsigned int conversion

Is this right or is there something else amiss?

[SVN r4247]
2007-05-25 15:12:03 +00:00
Paul A. Bristow
5ece6f9704 corrected spelling, suppressed warnings and showed sample output.
[SVN r4241]
2007-05-25 11:23:35 +00:00
John Maddock
4bdf0dd8f0 Added alternative polynomial and rational function evaluation methods.
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]
2007-05-22 08:52:48 +00:00
Paul A. Bristow
e6a9aa5fbb Spelling & layout (needs comment on purpose these tests?)
[SVN r4080]
2007-05-16 16:27:56 +00:00
John Maddock
cb0194297b Adjusted Mac OS error levels.
Fixed up pareto failures.
Added some debugging code to track remaining Mac OS failures.


[SVN r3926]
2007-04-11 11:44:43 +00:00
Paul A. Bristow
ecaa82d4a4 added & corrected tests
[SVN r3811]
2007-03-28 11:43:19 +00:00
Paul A. Bristow
7405f2d546 Added missing distributions (and suppressed MSVC level 4 warnings)
[SVN r3810]
2007-03-28 11:42:21 +00:00
Paul A. Bristow
3336f313c3 added pareto distribution.
[SVN r3800]
2007-03-19 18:52:36 +00:00
Paul A. Bristow
6e8f0b61a0 pareto compile test
[SVN r3799]
2007-03-19 18:49:19 +00:00
John Maddock
f95f292d2d Fixed bracketing and comma's in initialiser lists.
Some fixes for MacOS X's strange long double.
Updated and fixed docs.


[SVN r3795]
2007-03-19 13:20:38 +00:00
Paul A. Bristow
3da91a2602 added tests (possibly not quite right) for ranges.
[SVN r3781]
2007-03-16 15:16:00 +00:00
Paul A. Bristow
3225d4322e 1st try.
[SVN r3780]
2007-03-16 14:58:06 +00:00
John Maddock
44cf3010cc Median is supported now.
[SVN r3740]
2007-02-28 10:46:59 +00:00
John Maddock
61942e35be Undo previous fix, it causes regressions.
[SVN r37022]
2007-02-20 13:28:39 +00:00
John Maddock
1158127c7d STLport workaround.
[SVN r37001]
2007-02-19 10:00:41 +00:00
John Maddock
4bb07211d8 Final lot of updated interfaces and docs.
[SVN r3646]
2007-02-06 13:32:59 +00:00
John Maddock
10eeb62895 Fix Linux and HP-UX regressions.
[SVN r3633]
2007-01-29 11:35:10 +00:00
John Maddock
4ef10fbe2c Added updated SOC Bessel function code.
Changed overlow_error to have a default second argument, updated client code to take advantage of this.


[SVN r3629]
2007-01-19 17:05:21 +00:00
John Maddock
0f32112e12 Few minopr changes to Rayleigh.
Added missing #include to bernoulli.hpp.
Reorganised instantiate.hpp.


[SVN r3612]
2007-01-08 13:37:40 +00:00
Paul A. Bristow
6ba94712c3 added Rayleigh dsitribution
[SVN r3608]
2007-01-07 15:54:08 +00:00
Paul A. Bristow
c7d542e37c 1st cut.
[SVN r3607]
2007-01-07 15:51:42 +00:00
Paul A. Bristow
c4c19082a8 Corrected failure to compile!
[SVN r3604]
2007-01-05 13:20:40 +00:00
Paul A. Bristow
54c6ce894f Added Ls, but unsure if 'cured'
[SVN r3603]
2007-01-05 12:46:50 +00:00
Paul A. Bristow
9f2769e052 Added missing Ls
[SVN r3602]
2007-01-05 12:36:20 +00:00
John Maddock
9a59557542 Added new tests to Jamfile.
Fixed up test_constants so it passes on platforms with real long doubles.


[SVN r3600]
2007-01-04 18:32:10 +00:00
John Maddock
27f5e4d59e Updated hypot with simpler formula.
Added sinh and cosh to ntl.hpp.
Fixed FreeBSD test failures (no real long long support).


[SVN r3598]
2007-01-04 16:20:49 +00:00
Paul A. Bristow
f8082e18e7 a few tests for added constants using std functions.
[SVN r3596]
2007-01-03 17:40:22 +00:00
Paul A. Bristow
c8094b86da Coected test sof kurtosis (and k neither 0 or 1)
[SVN r3595]
2007-01-03 17:38:38 +00:00
John Maddock
d3bc78cdac Fix linker errors from concept test.
Update credits.


[SVN r3592]
2007-01-02 11:15:16 +00:00
John Maddock
810fc71342 Fix remaining HP-UX regressions.
[SVN r3591]
2007-01-01 18:59:56 +00:00
John Maddock
b1f54f9fe2 Updated concept checks, fixed resulting errors.
[SVN r3589]
2007-01-01 13:58:49 +00:00
John Maddock
dcd1455e26 removed dead file.
[SVN r36548]
2006-12-31 16:44:13 +00:00
Paul A. Bristow
02836f93d6 added more tests
[SVN r3581]
2006-12-30 11:02:36 +00:00
Paul A. Bristow
de37bf2484 1st commit of tests
[SVN r3580]
2006-12-30 11:01:41 +00:00
John Maddock
22dce1381e Integrated existing Boost.Math special functions, updated them to meet our conceptual requirements, and use our error handlers.
Lots of warning suppression changes.
Added new tests to verify header includes (plus fixes where these new tests failed!).
Documentation updates.


[SVN r3575]
2006-12-29 18:27:29 +00:00
John Maddock
bb1fbff202 Misc updates and fixes to the code, including a re-ordering of parameters to ensure TR1 compatibility.
Updated test data.
Ellint docs added.


[SVN r3573]
2006-12-28 11:04:39 +00:00
John Maddock
1b86b19af6 Changed gamma_P/gamma_Q to gamma_p/gamma_q.
[SVN r3570]
2006-12-23 17:28:30 +00:00
John Maddock
eec6aaf0a0 Fixed distributions so new accessors actually compile!
Added elliptic integrals plus tests (no docs yet).
Added some refs to Remez docs. Added comment about Erlang=gamma distribution.


[SVN r3559]
2006-12-23 10:30:16 +00:00
John Maddock
4fcd2f3919 Added needed parenthesis for min/max problem.
[SVN r3556]
2006-12-22 10:07:21 +00:00
Paul A. Bristow
a5e0fe7f86 Updated tests for accuacy etc.
[SVN r3554]
2006-12-21 18:05:25 +00:00
Paul A. Bristow
23330f9ac8 Some minor change.
[SVN r3553]
2006-12-21 17:41:52 +00:00
Paul A. Bristow
158ab5df72 median now provided vai quantile(half) so test for this and remove check_throw.
[SVN r3550]
2006-12-21 13:12:43 +00:00
Paul A. Bristow
5479928a0a Added range and support
[SVN r3542]
2006-12-20 16:23:42 +00:00
Paul A. Bristow
4863b82990 added median tests.
[SVN r3541]
2006-12-20 15:50:50 +00:00
Paul A. Bristow
2f47640e6c Added median tests
[SVN r3540]
2006-12-20 15:33:43 +00:00
Paul A. Bristow
b1a104ffe1 More Ls and more decimal digits 6666666666666 added.
[SVN r3527]
2006-12-13 19:14:27 +00:00
John Maddock
c6f65d5ad3 Big initial commit of the Polynomial and associated functions from TR1.
[SVN r3522]
2006-12-12 17:25:29 +00:00
Paul A. Bristow
892747d04e Updated for layout changes
[SVN r3521]
2006-12-12 10:31:05 +00:00
Paul A. Bristow
cc12654f8e changed tests for no infinity allowed.
[SVN r3519]
2006-12-12 10:07:11 +00:00
Paul A. Bristow
431748ca99 Test value made L, and new tests for throw on infinity and a==b added.
[SVN r3517]
2006-12-12 09:49:23 +00:00
Paul A. Bristow
69ca96e46f Added more tests for extreme values, including infinity and NaN.
[SVN r3515]
2006-12-11 14:36:04 +00:00
Paul A. Bristow
cbf9a584c6 1st tests - but needs some cruft removing.
[SVN r3509]
2006-12-10 18:42:56 +00:00
Paul A. Bristow
b0aed3e830 comment on constructor.
[SVN r3499]
2006-12-05 10:02:21 +00:00
Paul A. Bristow
4123458d0e 1st tests
[SVN r3496]
2006-12-04 17:57:12 +00:00
John Maddock
9f047e478e More doc tweeks, improved the "about" page.
Adjusted the neg binomial test to pass on HP-UX.


[SVN r3493]
2006-12-04 16:05:17 +00:00
Joaquín M. López Muñoz
12a5892443 various fixes for old compilers
[SVN r36259]
2006-12-04 07:04:33 +00:00
Paul A. Bristow
e7420f4519 Added warning 4180 suppression. (in fusion)
[SVN r3488]
2006-12-03 13:34:17 +00:00
John Maddock
306748dcee Small fixes to beta and beta distribution.
Brought docs into line.


[SVN r3487]
2006-12-02 19:21:13 +00:00
John Maddock
4358aba0ee Finished off binomial and neg binomial docs (hopefully).
Renamed param estimators for (negative) binomial sample sizes.
Tweaked root finding algorithms.
Tweaked ibeta inverse.


[SVN r3483]
2006-11-30 18:26:30 +00:00
John Maddock
ccfb864daf Added Jeffreys prior method to the binomial confidence limits.
Fixed a few typos in the neg binomial.


[SVN r3482]
2006-11-30 10:47:26 +00:00
Paul A. Bristow
30c5f9e950 Fumblings removed.
[SVN r3481]
2006-11-30 09:46:46 +00:00
John Maddock
245447e82d Do need the warning supression after all for gcc.
[SVN r3478]
2006-11-28 18:08:16 +00:00
Paul A. Bristow
265bfbf91a Added checks that real_concept throws overflow when result is infinity.
[SVN r3476]
2006-11-28 16:31:26 +00:00
John Maddock
1002d7d090 Minor coments/changes to code.
Proof reading changes to docs, mostly rewritten neg binomial worked example.
Removed dead test.


[SVN r3473]
2006-11-28 14:12:26 +00:00
John Maddock
475d4a0280 Misc small fixes and warning suppressions.
[SVN r3472]
2006-11-28 10:54:09 +00:00
Paul A. Bristow
03e3126745 Added tests that should return infinity for built-in but not for real_concept which lacks infinity.
[SVN r3471]
2006-11-28 10:42:37 +00:00
Paul A. Bristow
fe288c5acc Added test for quantile boundary. Need waay to test for infinity.
[SVN r3470]
2006-11-27 19:05:04 +00:00
John Maddock
ed1b8ae751 Finally got the parameter estimators right, and checked against "known goods".
Misc small fixes to the docs and example programs.


[SVN r3462]
2006-11-26 09:03:49 +00:00
John Maddock
7fc815029e Fixed up neg binomial estimators.
Enabled neg binomial tests and adjusted arguments.
Added extra comment to binomial.


[SVN r3460]
2006-11-24 19:14:32 +00:00
John Maddock
d15bf712e5 Fixed binomial estimators and added stronger tests.
Typos in concepts.
Enabled native log1pl on more platforms.
Fixed binomial example.
Added image.


[SVN r3459]
2006-11-24 18:54:52 +00:00
Paul A. Bristow
117a715923 Added tests for prob smaller than cdf(0) for quantile and complement.
[SVN r3457]
2006-11-24 17:52:05 +00:00
Paul A. Bristow
45de3a56cf Added test fo quantile with probability < pdf(0) - expect zero.
[SVN r3456]
2006-11-24 17:10:27 +00:00
Paul A. Bristow
0f72972f34 various corrections.
[SVN r3424]
2006-11-21 17:16:37 +00:00
John Maddock
b89f35783e More editorial and proof reading fixes.
Added initial draft of Remez background information.


[SVN r3414]
2006-11-19 18:29:06 +00:00
Paul A. Bristow
c92f714cb7 Shows commit needed - not sure why but probably comment only.
[SVN r3387]
2006-11-14 14:56:23 +00:00
Daryle Walker
37e8422e8a Made the GCD specializations for '(unsigned) long long' and '(unsigned) __int64' mutually exclusive, following the lead of <boost/cstdint.hpp>.
[SVN r35999]
2006-11-10 23:15:49 +00:00
Vladimir Prus
d53b96d8ed Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.

Patch from Juergen Hunold.


[SVN r35989]
2006-11-10 19:09:56 +00:00
Paul A. Bristow
44be43d70d More tests including test_spot and handful of spot values. estimate_alpha, 2 versions.
[SVN r3363]
2006-11-09 17:34:37 +00:00
John Maddock
3ea5308b45 Fixed problem with chi-squared sample size estimator.
Updated test program accordingly.
Added chi-square tutorial code.


[SVN r3360]
2006-11-08 17:14:39 +00:00
Paul A. Bristow
5eb9900645 Tests for quantile pass OK. Parameter estimation still??
[SVN r3359]
2006-11-08 15:28:04 +00:00
Paul A. Bristow
cccb45e40e More tests - but some quantile fail:-(((
[SVN r3357]
2006-11-07 19:25:52 +00:00
Paul A. Bristow
4e9c200dc7 1st tests for double only. More TODO.
[SVN r3355]
2006-11-07 12:22:34 +00:00
Paul A. Bristow
2612682895 Added check that kurtosis_excess is kurtosis -3
[SVN r3353]
2006-11-07 10:42:28 +00:00
John Maddock
5c8b72ceb4 Last few Linux/HP-UX fixes.
[SVN r3349]
2006-11-06 18:46:44 +00:00
Daryle Walker
b7001da56b Changed GCD for built-in integer types to use the binary-GCD algorithm
[SVN r35850]
2006-11-05 07:10:42 +00:00
Paul A. Bristow
d1d2503c68 Made sqrt(96) test value more accurate using Wolfram function evaluator.
[SVN r3347]
2006-11-04 22:19:25 +00:00
John Maddock
9e41ae39b4 Minor fixes for gcc in poisson.hpp
Tidied up fraction.hpp.
Updated linux acceptable error rates.


[SVN r3346]
2006-11-04 18:28:24 +00:00
Paul A. Bristow
d9d5f2b21e tests revised to try to cover failures in 80 and 128 bit FP cases. Added throw checks
[SVN r3345]
2006-11-04 10:55:12 +00:00
Daryle Walker
025d2d6b73 Added custom integer types, signed and unsigned, with and without std::numeric_limits<> specializations, to test
[SVN r35830]
2006-11-03 22:43:34 +00:00
John Maddock
feacc055d3 Added gamma distribution and tests.
Fixed a lot of gcc-linux issues: mostly missing "using namespace std" declarations.
Added new concept check to test for these kinds of failures at compile time.


[SVN r3344]
2006-11-03 18:42:23 +00:00
Daryle Walker
57e9914259 Changed test to use Boost.Test's unit test system
[SVN r35815]
2006-11-03 03:08:27 +00:00
Paul A. Bristow
c7581f4df8 Added JM copyright !
[SVN r3342]
2006-11-01 09:32:46 +00:00
John Maddock
8441e358fb Rewritten tgamma1pm1 in terms of lgamma rational approximations: now more efficient and more accurate!
Minor patch to exponential distribution tests.
Removed dead code from Remez app.


[SVN r3331]
2006-10-31 10:50:11 +00:00
John Maddock
bcbb6f3ca9 Added double_factorial plus rising and falling factorials and binomial coefficients.
Added new tests for the above.
Refactored factorials header.
Optimised tgamma_delta_ratio for integer arguments.


[SVN r3326]
2006-10-28 13:00:10 +00:00
Paul A. Bristow
741fbd58bf Correction to comment - it doesn't hang using real conept - it just takes longer (3 min)
[SVN r3325]
2006-10-26 14:01:20 +00:00
Paul A. Bristow
d18909e199 More tests, OK with float, double but FAILS for real concept - hangs :-(
[SVN r3323]
2006-10-26 13:10:07 +00:00
John Maddock
82548699a5 Improved and generally tidied up sqrt1pm1 and powm1.
Renamed sqrtp1m1 as sqrt1pm1 to match log1p etc.
Added docs for misc power functions, plus weibull distribution.
Updated tests to match the above changes.


[SVN r3321]
2006-10-26 11:51:59 +00:00
John Maddock
9b16307ae7 Fixed a bug in incomplete gamma, and refactored and refined internal selection logic.
Added tests for incomplete gamma for int and half int arguments.


[SVN r3312]
2006-10-25 10:19:34 +00:00
John Maddock
24066f892f Updated to call overflow_error when the result is infinite.
[SVN r3311]
2006-10-25 09:38:24 +00:00
John Maddock
2f964f6ef6 Added finite sum to incomplete beta, plus tests and docs.
Linked in lognormal docs.


[SVN r3310]
2006-10-25 09:03:04 +00:00
Paul A. Bristow
78cac89492 Many tests fail :-(( Work TODO!
[SVN r3305]
2006-10-24 09:40:14 +00:00
Paul A. Bristow
7a2a1e1586 Added check on conveience constructors
[SVN r3304]
2006-10-24 09:38:53 +00:00
Paul A. Bristow
14bb25eb12 Add test for two convenient constructions.
[SVN r3296]
2006-10-23 10:32:56 +00:00
Paul A. Bristow
55a7bcc2bb Add test for convenient construction.
[SVN r3295]
2006-10-23 10:29:56 +00:00
Paul A. Bristow
71fb3c7068 Added test for convenience construction.
[SVN r3294]
2006-10-23 10:18:53 +00:00
Paul A. Bristow
9db4e6f48f added link to wikipedia and test for distribution construction.
[SVN r3293]
2006-10-23 10:11:19 +00:00
Paul A. Bristow
fea4b203f7 Update to check two convenient constructors and added output.
[SVN r3290]
2006-10-22 17:45:24 +00:00
Paul A. Bristow
b5825186c2 Updated to check on two convenient construtors & output appended.
[SVN r3289]
2006-10-22 16:49:21 +00:00
Paul A. Bristow
98c1211f30 Added check on two convenient construction methods.
Also noted that a few tests fail at the tolerance of 50 eps. Needs >100 eps for a few tests.


[SVN r3288]
2006-10-22 16:44:41 +00:00
Paul A. Bristow
b69b5afbe0 Checked on two convenience distribution methods.
(And added stat_cast<V>() to polynomials in rational to avaoid warning)


[SVN r3284]
2006-10-22 16:12:38 +00:00
John Maddock
38e02e4b59 Added weibull tests.
Updated Jamfile.


[SVN r3281]
2006-10-22 15:49:08 +00:00
Paul A. Bristow
eb5e689ad5 updated test to confirm typedef distributions Do work for Cauchy but NOT binomial.
[SVN r3279]
2006-10-21 18:35:37 +00:00
John Maddock
b8caa9249e Initial test suite.
[SVN r3276]
2006-10-21 17:57:51 +00:00
John Maddock
b6529add8a Added preliminary lognormal and weibull implementations.
Updated common error handling.
Added more test values.


[SVN r3265]
2006-10-18 15:18:15 +00:00
Paul A. Bristow
abec24fc6d More tests of optimised version (JM's best so far)
[SVN r3262]
2006-10-17 09:07:45 +00:00
Paul A. Bristow
8e4d2438be comments only.
[SVN r3260]
2006-10-17 08:58:22 +00:00
John Maddock
09f5ff738f Brought distributions into the same conceptual line and updated tests accordingly.
[SVN r3256]
2006-10-15 17:57:02 +00:00
Paul A. Bristow
fa33ecb003 more tests added to test new pdf and cdf code changes.
[SVN r3255]
2006-10-15 15:39:14 +00:00
John Maddock
1555938251 Added scale and location parameters to Cauchy.
[SVN r3253]
2006-10-14 18:03:03 +00:00
John Maddock
5f5d873826 Added concept checks and concept archetypes.
Uprated tests and distributions to match concept requirements.


[SVN r3251]
2006-10-13 17:37:27 +00:00
John Maddock
4edc3d19a1 Added cauchy, exponential, and extreme value distributions.
Updated style sheet.


[SVN r3250]
2006-10-12 17:28:09 +00:00
Paul A. Bristow
87afad1896 Output added.
[SVN r3249]
2006-10-10 16:15:59 +00:00
Paul A. Bristow
2a191a2655 1st poisson distribuion sanity test.
[SVN r3247]
2006-10-10 15:32:21 +00:00
John Maddock
5b95219e09 Fixed digamma 128-bit error rates with a more accurate value for the root.
Updated png's: hopefully they'll all render OK now.
Tweeked docs to reflect recent advances.


[SVN r3237]
2006-10-04 09:57:05 +00:00
John Maddock
dc9165592e Updated digamma docs and code.
Added needed include to test_data.hpp.
Changed Doc Jamfile to generate TOC with 0.2 version FOP.


[SVN r3232]
2006-10-02 16:58:49 +00:00
John Maddock
5997e3249c Added digamma.
Added needed #include to evaluation_type.
Updated minimax and lanczos generators to take account of digamma.


[SVN r3231]
2006-10-01 09:45:44 +00:00
John Maddock
4679d4e421 Updated rational function evaluation with compile time detection of array size.
Added tests.
Updated Jamfile.


[SVN r3214]
2006-09-22 18:03:57 +00:00
John Maddock
5b9e2ec5a8 Added new (better) forms for evaluating polynomials.
Added more Remez code, and appoximations for erf/erfc inverses.
Updated and refactored erf code to use new approximations.
Added more test cases.


[SVN r3210]
2006-09-22 09:28:40 +00:00
John Maddock
33783a0295 Updated list of tests.
[SVN r3202]
2006-09-16 18:29:12 +00:00
John Maddock
70f321faf7 Typo fix.
[SVN r3201]
2006-09-16 16:42:57 +00:00
John Maddock
47690421b6 Added remez and minima tests.
Added some mimimal fixes to get the code to compile with Borland-5.8.2, although frankly it's more trouble than it's worth.


[SVN r3200]
2006-09-16 16:41:18 +00:00
John Maddock
6c3c521a3c More linux fixes: finally got AMD64 machines to behave correctly.
[SVN r3186]
2006-09-02 17:56:22 +00:00
John Maddock
84829f74e3 Numerous minor patches to get tests passing on Linux x86 (32-bit) and HP-UX / itanium.
[SVN r3183]
2006-09-02 15:05:43 +00:00
Paul A. Bristow
0fe135e268 after JM correction to check_df comfirmed is OK, and added output from test.
[SVN r3177]
2006-09-01 13:20:40 +00:00
John Maddock
567dc1bd7d Updated error checks.
Removed dead code from error-handling test.


[SVN r3176]
2006-09-01 09:19:24 +00:00
John Maddock
dc70a06809 Added F distribution.
[SVN r3173]
2006-08-31 16:21:17 +00:00
Paul A. Bristow
fb79977d70 Spelling corrections and re-compile & run OK and add output.
[SVN r3172]
2006-08-31 15:19:32 +00:00
John Maddock
4636c32fed Test corner cases and parameter estimator.
[SVN r3168]
2006-08-30 15:49:07 +00:00
John Maddock
00a347bee0 Removed remaining old style distribution code (we can get it back from cvs if necessary).
Updated error handling.
Added better chi-squared tests.


[SVN r3165]
2006-08-29 16:41:07 +00:00
John Maddock
9a3ade1320 Refactored error handling a little more.
Added chi-squared distribution and tests.


[SVN r3164]
2006-08-28 12:52:08 +00:00
John Maddock
9d7123eecf More or less completed normal/binomial/students-t distributions.
Updated docs and tests.


[SVN r3160]
2006-08-25 18:03:48 +00:00
John Maddock
99929b1023 Fixed binomial quantile, added complements, various subtle changes to corner cases, tidied up and removed dead code.
Fixed error messages in beta and gamma inverses.
Updated binomial test program, refacted cdf test cases to test cdf, quantile and complements in one hit.
Added accuracy tests for ibeta_inva and ibeta_invb.
Added more docs.


[SVN r3159]
2006-08-20 09:28:27 +00:00
Paul A. Bristow
b95e6b469a 1st test pdf and cdf probably OK, but others not.
[SVN r3156]
2006-08-17 17:42:54 +00:00
John Maddock
a147f2aa58 Fixed typo in test result message.
Added ibeta inverse tests.


[SVN r3153]
2006-08-16 12:06:10 +00:00
John Maddock
7e902a680e Added root-2 constant.
Fixed complement code so that constructors are used now.
Adjusted pre-formatted parts of tutorial.
Added normal distribution plus tests.


[SVN r3145]
2006-08-14 12:33:49 +00:00
Paul A. Bristow
24b13c2981 Comments & Quieted warnings and added test output
[SVN r3144]
2006-08-14 11:39:28 +00:00
Paul A. Bristow
463715c9e4 quieted warmings & added test output.
[SVN r3143]
2006-08-14 11:38:17 +00:00
John Maddock
4e98273785 Added upper cap on the number of iterations permitted in series evaluation.
Fixed beta function so it's better behaved with very large arguments.
Updated tests.


[SVN r3139]
2006-08-13 17:42:17 +00:00
John Maddock
a436522863 Disable long double tests where not supported.
[SVN r3137]
2006-08-12 18:03:54 +00:00
Paul A. Bristow
dab4cd3c29 attempted add a test for t = 0 and varying degrees of freedom - fails for big df >= 1e16.
[SVN r3132]
2006-08-12 13:29:38 +00:00
Paul A. Bristow
530d38dd15 quieted C4610 doesn't look helpful. Added copyright JM and a refercen.
Also removed a conversion warning with a static cast<RealType>, added output and commited.


[SVN r3128]
2006-08-12 11:06:32 +00:00
Paul A. Bristow
9895ce48e1 Use distributions instead of dist.
[SVN r3125]
2006-08-11 10:36:18 +00:00
John Maddock
5c645698c3 Added new style Student's t code and examples.
Added tutorial for the new stats code.


[SVN r3121]
2006-08-10 12:53:07 +00:00
John Maddock
2dcc9167e8 Updated inverse gamma tests.
Updated inverse gamma code to prevent premature termination of Halley Iteration.


[SVN r3120]
2006-08-10 09:27:19 +00:00
John Maddock
46d9b33645 Tightened up root finding tests.
Added docs for roots without derivatives.
Added derivatives of incomplete gamma and beta.


[SVN r3112]
2006-08-01 17:23:10 +00:00
John Maddock
cd90a9f0d4 Updated and documented the new root finding code.
[SVN r3111]
2006-07-31 18:05:41 +00:00
John Maddock
eca034bb42 Added tests for gamma_P_inva / gamma_Q_inva.
Added docs for new inverses of gamma and beta.


[SVN r3110]
2006-07-31 11:54:46 +00:00
John Maddock
5e67622a7d Fixed gamma_inva.
Added floor and ceil termination conditions to toms748_solve.
Added ibeta_inva and ibeta_invb.


[SVN r3109]
2006-07-27 15:45:17 +00:00
John Maddock
79a8199f9c Added new root finding algorithm toms748.
Tidied up inverse code and moved files to detail directory.
Updated docs and Jamfile.


[SVN r3107]
2006-07-26 13:06:56 +00:00
John Maddock
4ecb968fc7 Begun to refactor and tighten up the tests so that results are actually regression tested as well as printed to screen.
Added code for extracting the sign of a number.
Fixed a few bugs and tidied up the code a little in places.
Changed test_result to properly encapsulate it's contents.


[SVN r3106]
2006-07-25 09:17:33 +00:00
John Maddock
e12af6d280 Improved tests, tightened limits, and made sure input values in the gamma tests are exact.
[SVN r3100]
2006-07-20 12:59:17 +00:00
John Maddock
2760d7ad0d Added missing license info.
[SVN r34558]
2006-07-16 16:01:25 +00:00
Paul A. Bristow
4350382d58 Test seems OK now, including inverse.
[SVN r3092]
2006-07-12 16:14:24 +00:00
Paul A. Bristow
7596f7bad9 Update to results are corrected .hpp file error
[SVN r3090]
2006-07-11 16:10:45 +00:00
John Maddock
bc87a3747d Added #pragma's where warnings couldn't be suppressed any other way.
Refactored code to suppress warnings where possible.


[SVN r3077]
2006-07-09 17:56:55 +00:00
John Maddock
c9aae0ea7f Updated to include new test programs.
[SVN r3074]
2006-07-09 15:58:53 +00:00
Paul A. Bristow
721da6e645 possibly correct tests.
[SVN r3070]
2006-07-06 15:15:53 +00:00
Paul A. Bristow
ed2cd482b3 Passes some tests, but others needed?.
[SVN r3068]
2006-07-06 09:59:11 +00:00
Paul A. Bristow
a46ac4c5aa disabled warnings in test and added output.
[SVN r3067]
2006-07-06 09:57:43 +00:00
Paul A. Bristow
4f1eb3f8d2 test for argument promotions promotions.hpp
[SVN r3058]
2006-07-04 17:40:50 +00:00
Paul A. Bristow
7e823381c1 Removed two argument error calls. Added output from test.
[SVN r3056]
2006-07-04 17:19:51 +00:00
Paul A. Bristow
a00f098f63 fiddling with tolerance and inverse tests added.
[SVN r3049]
2006-07-03 08:55:09 +00:00
Paul A. Bristow
d76f039c46 test for inverse added, more needed?
[SVN r3048]
2006-07-03 08:52:50 +00:00
Paul A. Bristow
8f83f9525e more chisqr tests, including possible bad arguments.
[SVN r3047]
2006-07-03 08:50:32 +00:00
John Maddock
107b88abb4 Added tests to print out error messages as well as verify that the exception is thrown.
[SVN r3037]
2006-06-27 17:02:44 +00:00
Paul A. Bristow
dc28202d2d updated to use argument promoted versions. PAB 27 Jun 2006
[SVN r3035]
2006-06-27 09:48:29 +00:00
John Maddock
6910a75524 Reorganised and refactored limits and constants code.
[SVN r3028]
2006-06-24 12:00:53 +00:00
Paul A. Bristow
4ad9aeccb1 Demo of improved error handling, but PAB doesn't understand exception handling;-)
[SVN r3026]
2006-06-23 18:29:18 +00:00
Paul A. Bristow
3d7552f387 PAB Mods to test JM's improved error message system.
[SVN r3025]
2006-06-23 18:24:33 +00:00
John Maddock
493406e734 Added factorial docs and tests.
[SVN r3020]
2006-06-22 18:18:23 +00:00
Paul A. Bristow
d65be814d5 *** empty log message ***
[SVN r3019]
2006-06-22 17:02:07 +00:00
John Maddock
4341334b2b Updated accuracy in docs.
Fixed test_fisher so it's gcc compatible (real_concept.hpp has to come first).


[SVN r3018]
2006-06-22 15:59:01 +00:00
Paul A. Bristow
57dafe1629 1st commit PAB
[SVN r3010]
2006-06-21 16:58:28 +00:00
Paul A. Bristow
e148678168 1st commit
[SVN r3007]
2006-06-21 11:53:31 +00:00
Paul A. Bristow
cc365b288a *** empty log message ***
[SVN r3001]
2006-06-20 14:20:30 +00:00
Paul A. Bristow
b0208fda62 comment on using namespace std and pow.
added std::precision(4) to make clear this is NOT the reason for the using namespace std.


[SVN r2996]
2006-06-19 09:23:35 +00:00
Paul A. Bristow
fbc1c85949 1st commit PAB 18 Jun 2006
[SVN r2995]
2006-06-19 09:10:03 +00:00
Paul A. Bristow
d9de66ee38 Added explanatory comment. PAB
[SVN r2994]
2006-06-19 09:02:56 +00:00
John Maddock
9c044882bb More or less finished beta inverse and gamma inverse plus misc warning suppression and added missing docs.
[SVN r2987]
2006-06-14 13:59:25 +00:00
John Maddock
311dc1c8e8 Fix typos.
[SVN r2974]
2006-06-10 12:42:19 +00:00
John Maddock
c3611d0c6b Added factorials and gamma function ratios.
Updated incomplete beta with BGRAT routine from Didonato and Morris.
Added even and odd polynomials.
Lots of small tweeks.


[SVN r2972]
2006-06-08 16:08:05 +00:00
John Maddock
6af9ca971b Minor doc update (for error handling).
Minor test updates (ibeta inverses).


[SVN r2964]
2006-05-30 18:01:10 +00:00
John Maddock
586cb50312 Added some proper error handling.
Got the incomplete beta inverse working better (Temme's expansions).


[SVN r2962]
2006-05-26 16:42:50 +00:00
John Maddock
aa2c565d12 Initial commit.
[SVN r2955]
2006-05-21 15:45:37 +00:00
John Maddock
1e23b979c4 Don't test infinities with Tru64 cxx unless compiling with -ieee option.
[SVN r33232]
2006-03-06 11:20:31 +00:00
John Maddock
9cc1f11f7d Added Borland fix with right toolset name this time.
[SVN r33013]
2006-02-19 16:35:39 +00:00
John Maddock
287e0e6ce1 *** empty log message ***
[SVN r32403]
2006-01-24 17:37:11 +00:00
John Maddock
424c16835a Update test cases to provide better error reporting and to eliminate temporaries.
[SVN r32325]
2006-01-15 12:30:27 +00:00
John Maddock
da670c577a Check for infinity before using it.
[SVN r32254]
2006-01-07 11:28:37 +00:00
Daryle Walker
43fb57de0d Updated for changes in the Test library
[SVN r2783]
2005-12-19 02:57:39 +00:00
John Maddock
a754671b05 Don't test infinities if they're not available.
[SVN r32074]
2005-12-16 14:10:48 +00:00
John Maddock
e771975c73 Upped test fudge factor a little.
[SVN r31986]
2005-12-11 17:29:53 +00:00
John Maddock
fc0510ee4c Upped fudge factor to allow for broken msvc.
[SVN r31886]
2005-12-02 19:25:43 +00:00
John Maddock
cb13210a12 Update tests to provide more information, and disable tests that rely on long double overloads when those are known to be inaccurate.
[SVN r31772]
2005-11-24 18:44:24 +00:00
John Maddock
48eb2d3f9b Minor fixes: added needed declaration of "two", upped tolerance slightly.
[SVN r31662]
2005-11-15 11:39:35 +00:00
John Maddock
3a4b7be9a9 Update tests to use correct epsilon calculation.
[SVN r31629]
2005-11-12 10:24:31 +00:00
John Maddock
0545c77c55 Added needed #include
[SVN r31598]
2005-11-08 12:11:53 +00:00
John Maddock
a4d364c657 Added some more diagnostics.
Changed fudge factor to use mantissa size, and not epsilon (epsilon is a rather different thing on Darwin's long double).


[SVN r31589]
2005-11-07 19:07:27 +00:00
John Maddock
1df348c201 Loosen some of the test permitted errors (so glibc can cope).
Added more diagnostic code to aid diagnosis of errors.
Allow (0,0) as a valid result if the expected result is very small.


[SVN r31588]
2005-11-07 18:50:53 +00:00
John Maddock
468370b061 Add more information to tests.
[SVN r31431]
2005-10-23 16:21:24 +00:00
John Maddock
a4dc75541c Added TR1 math additions: docs and tests.
[SVN r31335]
2005-10-15 12:01:54 +00:00
Daryle Walker
45ec720e9f Corrected 'll' function names to 'l1'
[SVN r2682]
2005-08-16 07:46:48 +00:00
Daryle Walker
ef97fe7be6 Preliminary code for Cayley-Dickson hypercomplex elements
[SVN r2669]
2005-07-27 23:57:04 +00:00
Stefan Slapeta
8543f7f26d Replaced BOOST_TEST
[SVN r27050]
2005-02-03 12:27:14 +00:00
Douglas Gregor
2c8db4a10c License update
[SVN r24180]
2004-07-30 04:46:56 +00:00
Daryle Walker
6792aa6963 Added bit-searching, bit-intersection, and scaling functions
[SVN r1984]
2004-02-17 03:43:40 +00:00
Daryle Walker
ae74e09deb Added addition and subtraction operators
[SVN r1975]
2004-02-14 09:20:48 +00:00
Daryle Walker
37a37daa30 Added absolute-value and sign functions
[SVN r1974]
2004-02-13 22:50:54 +00:00
Daryle Walker
2439924bff Added increment and decrement operators
[SVN r1973]
2004-02-13 22:06:26 +00:00
Daryle Walker
06bdded4f5 Fixed-up, hopefully, the implementation and exception policy of the bit-shift operators
[SVN r1968]
2004-02-13 10:34:00 +00:00
Daryle Walker
692dc90c11 Added unary + and - operators
[SVN r1967]
2004-02-13 01:05:16 +00:00
Daryle Walker
2ffe57e17c Added bitwise and-not function; did minor documentation tweak
[SVN r1966]
2004-02-12 13:29:21 +00:00
Daryle Walker
11de9cab52 Added bit-shift operators; improved test for bit-reversal
[SVN r1961]
2004-02-11 08:20:28 +00:00
Daryle Walker
7b2bf3e95c Added bitwise-and, -or, and -xor operators, including combined assignment versions
[SVN r1952]
2004-02-10 01:11:29 +00:00
Daryle Walker
54484f15df Added even/odd test, comparison method and operators, and minor tweaks
[SVN r1947]
2004-02-09 05:42:24 +00:00
Daryle Walker
bcf7ac8a38 Added method to assign an arbitrary bit pattern within a bit range of another big_whole object
[SVN r1936]
2004-02-06 08:00:19 +00:00
Daryle Walker
8ee4efc5f7 Added files for the multi-precision non-negative integer type based on std::valarray
[SVN r1935]
2004-02-05 10:36:38 +00:00
Daryle Walker
bf81a3172e Moved my stuff to the Boost Software License, Version 1.0
[SVN r1735]
2003-11-05 07:06:17 +00:00
Vladimir Prus
858956bc60 Add V2 Jamfile
[SVN r20212]
2003-09-29 16:40:02 +00:00
Dave Abrahams
9571d2b826 Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +00:00
Gennadiy Rozental
f242f8e70f New Jamfile for math libs unit tests
Old one is incorrect and removed


[SVN r17682]
2003-02-28 05:29:02 +00:00
Daryle Walker
314daf2a52 Added modulo arithmetic library
[SVN r522]
2002-09-20 17:04:13 +00:00
John Maddock
842399c620 Added tests for unsigned int types
[SVN r13685]
2002-05-06 10:36:32 +00:00
Dave Abrahams
d199e37ac9 Daryle Walker's GCD library submission
[SVN r11814]
2001-11-29 21:42:58 +00:00