2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 07:42:11 +00:00
Commit Graph

811 Commits

Author SHA1 Message Date
Paul A. Bristow
b3bee00ce0 Various cosmetic changes to deal with Inspection nags.
[SVN r79818]
2012-07-31 13:32:25 +00:00
Paul A. Bristow
059d1b4378 Added terminal newline.
[SVN r79814]
2012-07-31 11:28:17 +00:00
Paul A. Bristow
d7dc107b30 Remove tabs and () max call.
[SVN r79813]
2012-07-31 11:26:45 +00:00
Paul A. Bristow
848c0da5c9 Removed tabs
[SVN r79811]
2012-07-31 11:15:30 +00:00
Paul A. Bristow
4ad388a10e Remove non-ASCII char in comment.
[SVN r79810]
2012-07-31 10:57:22 +00:00
Paul A. Bristow
e71253c782 Revised checks on moments and return values
[SVN r79770]
2012-07-27 15:34:35 +00:00
Paul A. Bristow
b12334ba6e Revised for Trac #7717
[SVN r79759]
2012-07-26 18:03:32 +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
cfd28e0e05 Tentative fix #2 for TI compiler error.
Refs #7099.

[SVN r79439]
2012-07-12 09:53:18 +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
58e250eb1f Ditch anonymous union - it causes GCC-4.4 to choke.
Fixes #6362.

[SVN r79421]
2012-07-11 17:28:54 +00:00
John Maddock
176a695ec0 Fix double inclusion of <complex> which causes use of Boost.TR1 to fail.
Fixes #7053.

[SVN r79420]
2012-07-11 17:27:27 +00:00
Marshall Clow
985d3cdc00 Switch from deprecated macros to new shiny ones; no functionality change
[SVN r79417]
2012-07-11 16:21:28 +00:00
John Maddock
f73f66b454 Tentative fix for compilers that treat floating point constants smaller than a 64-bit double can hold as hard errors.
Refs #7099.

[SVN r79332]
2012-07-07 11:18:09 +00:00
John Maddock
629db84174 Fix file line ending.
Fixes #7062.
Fixes #7097.

[SVN r79317]
2012-07-06 16:17:39 +00:00
John Maddock
19f78ac0ac Fix actual and potential integer divisions when using integer constants.
Fixes #7024.

[SVN r79154]
2012-06-28 12:09:09 +00:00
John Maddock
26d92a55f0 Add missing include guards.
Fixes #7001.

[SVN r79027]
2012-06-21 09:18:47 +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
3f93aff61d Added checks for non finite parameter and x = NaN
[SVN r78781]
2012-05-31 11:10:50 +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
4dd9452c22 Corrected failure to check for NaN in quantiles. UNsure if df should include zero.
[SVN r78776]
2012-05-31 09:35:52 +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
a72f149301 Changed range to infinity if supported.
[SVN r78768]
2012-05-30 16:35:59 +00:00
Paul A. Bristow
7ef962fc6b Changed range to include infinity if supported.
[SVN r78766]
2012-05-30 16:31:18 +00:00
Paul A. Bristow
187960b9a7 Corrected checks missing ().
[SVN r78765]
2012-05-30 16:30:45 +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
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
5e0aa58152 Added Policy as a template parameter to functors and #6934 test program now compiles and runs.
Need to commit changes to concept checks to confirm.

[SVN r78579]
2012-05-24 11:13:54 +00:00
John Maddock
1a2d4d2c5e Move default arguments to forward declaration.
Fixes #6930.

[SVN r78559]
2012-05-23 17:18:49 +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
056745573f Add the Jacobi elliptic special functions.
[SVN r78492]
2012-05-17 09:19:57 +00:00
John Maddock
2fdb5f551f Quash some minor warnings.
[SVN r78422]
2012-05-11 17:13:03 +00:00
John Maddock
9834bafe7e Add needed forward declarations (keeps GCC-4.7.0 happy).
[SVN r78400]
2012-05-10 09:16:26 +00:00
John Maddock
be63e63891 Fix a pair of typos (one a clear bug).
[SVN r78316]
2012-05-03 17:20:24 +00:00
Paul A. Bristow
b0021e4c28 Added constant ln_ten
[SVN r78288]
2012-05-01 10:42:14 +00:00
John Maddock
aa64d8dc00 Add forwarding-policy to hankel functions.
Updated docs with links to more info.

[SVN r78256]
2012-04-29 16:54:10 +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
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
e1fc40cf11 Yet another try at getting constexp usage correct!
Refs #6820.

[SVN r78160]
2012-04-23 15:13:10 +00:00
John Maddock
73bd07a44d Fix constexp usage.
[SVN r78133]
2012-04-22 11:17:08 +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
ad520dbbcb Disable real_concept tests for IBM's compiler.
[SVN r78108]
2012-04-21 08:58:09 +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
15baa10fac Add checks to discrete quantile finder to handle cases where there is no true answer.
Fixes #6805.

[SVN r78090]
2012-04-20 10:51:55 +00:00
John Maddock
85d55b2ea5 Update test_data.hpp to improve definition of SC_ so it's compatible with multiprecision testing.
Update BOOST_MATH_BIG_CONSTANT to use a long double when the result is long double or smaller.

[SVN r78042]
2012-04-17 16:05:52 +00:00