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
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
John Maddock
14b97d2dd4
Add missing include.
...
[SVN r77350]
2012-03-16 16:55:22 +00:00
John Maddock
940c3824c8
Change put_num_and_fill to work on CharType not char, so that formatting of signed zeroes is wide character safe even if '0' is not used for zeroes.
...
[SVN r77286]
2012-03-09 18:36:29 +00:00
John Maddock
b745e80ede
Fix warning with a cast rather than a blanket disable.
...
[SVN r77283]
2012-03-09 09:35:36 +00:00
Paul A. Bristow
fec1f2407e
Version that passes new tests for both default and signed_zero flag set based on modifications by KR Walker.
...
BUT had to suppress MSVC warning "C4244 conversion wchar_t* to char* may cause data loss."
[SVN r77268]
2012-03-08 18:12:28 +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
a94442f5de
Added tests for new constants two_div_pi and root_two_div_pi
...
[SVN r76820]
2012-02-01 12:32:22 +00:00
John Maddock
20f26bd52c
Use underscores in attribute names.
...
Fixes #6411 .
[SVN r76773]
2012-01-29 12:27:53 +00:00
John Maddock
59eb0f44df
Don't be too quick to disable long double functions if __NO_LONG_DOUBLE_MATH is set by GLIBC.
...
Fixes #6459 .
[SVN r76764]
2012-01-28 19:13:44 +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
fecae229b0
Simplify/improve zeta function still further.
...
[SVN r76337]
2012-01-07 16:57:51 +00:00
John Maddock
532ddf8cb0
Change template argument "L" to "Lanczos" to avoid conflicts with L as a macro.
...
[SVN r76278]
2012-01-02 17:44:19 +00:00
John Maddock
9005ade2a3
Updated big_lanczos.hpp to use new BIG_CONSTANT macros.
...
Fix expression template issue in zeta.hpp.
[SVN r76251]
2012-01-01 11:34:50 +00:00
John Maddock
9922e9134c
Remove unused constant.
...
Fixes #5982 .
[SVN r76099]
2011-12-21 17:58:28 +00:00
John Maddock
4d57f3e642
Disable SSE2 instruction support under the CUDA compiler.
...
Fixes #6234 .
[SVN r76097]
2011-12-21 17:43:55 +00:00
John Maddock
a4a1cca095
Change overflow tests to not generate an infinity.
...
Fixes #6307 .
[SVN r76095]
2011-12-21 16:58:36 +00:00
John Maddock
02e5447867
Delete unneeded variable.
...
Fixes #6307 .
[SVN r76094]
2011-12-21 16:46:46 +00:00
John Maddock
1a304dccb0
Apply patch from #6192 .
...
Plus fix a few other issues that arise when BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS is set.
Fixes #6192 .
[SVN r76093]
2011-12-21 16:37:32 +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
70f902d332
Misc small workarounds to allow multiprecision tests to function.
...
[SVN r76080]
2011-12-20 16:21:44 +00:00
John Maddock
2902c06d6c
Add missing using declarations.
...
[SVN r76041]
2011-12-18 16:05:55 +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
cbe12e231d
Added "two_thirds" and deprecate "twothirds" Trac 6199
...
[SVN r75773]
2011-12-02 15:01:40 +00:00