Commit Graph

146 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
909bd2b39f Try and work around a Tru64 overload resolution bug.
[SVN r40484]
2007-10-26 18:12:28 +00:00
John Maddock
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +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
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
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
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
John Maddock
a744bdaed0 Hopefully fixed test to make it compatible with earlier VC++ versions.
[SVN r39422]
2007-09-20 18:22:32 +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
John Maddock
5721a19032 Renamed over-long files and sections.
[SVN r38972]
2007-08-26 18:40:16 +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
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +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
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
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