2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-03 09:12:19 +00:00
Commit Graph

1017 Commits

Author SHA1 Message Date
jzmaddock
c5084fc77e Add complex and polynomial test cases. 2016-05-08 16:54:24 +01:00
jzmaddock
b953a8cad6 Add better error handling tests. 2016-05-07 18:45:51 +01:00
Kolya Matteo
3d3a1f8d2a Add tests for polynomial normalization with initializer lists (so the highest-degree term is nonzero) 2016-05-02 14:06:18 -04:00
Kolya Matteo
ece2283833 Add polynomial self-multiply-assign test case 2016-05-02 13:46:06 -04:00
jzmaddock
0940e7d1e6 Revert "Don't use a library when an object file will do."
This reverts commit 86f3ae5463.
2016-04-04 12:55:17 +01:00
jzmaddock
86f3ae5463 Don't use a library when an object file will do. 2016-03-28 13:11:54 +01:00
jzmaddock
8a32bac2c8 Merge pull request #25 from jeremy-murphy/gcd_unit_tests
Gcd unit tests
2016-03-09 18:51:25 +00:00
jzmaddock
65f7440c2f Minor fixes for polynomial division:
* Use Boost.Config macros not direct checks on C++ version.
* Use dedicated integer power function - fixes VC10 build failure, also prevents loss of digits when integer type is wider than double.
2016-03-02 19:37:46 +00:00
Jeremy W. Murphy
c491caf93b Test zero across all types too. 2016-03-02 14:24:41 +11:00
Jeremy W. Murphy
93a0ff967d Use the strictly correct brace initializer_list construction. 2016-03-02 13:38:36 +11:00
Jeremy W. Murphy
94535a0c98 Add gcd unit tests to Jamfile. 2016-02-25 08:55:27 -08:00
Jeremy W. Murphy
48838637c4 Explicitly use gcd from Boost.Math, not multiprecision type's. 2016-02-25 08:55:11 -08:00
Jeremy W. Murphy
b86b89c8e2 Unit tests for gcd. 2016-02-11 09:36:32 +11:00
Jeremy W. Murphy
7969de6fae Add C++11 initializer_list constructor and assignment to polynomial class. 2016-01-31 19:04:37 +11:00
Jeremy W. Murphy
0e4bfc9f8e Test cpp_int, cpp_rational, cpp_bin_float_single and cpp_dec_float_50. 2016-01-16 14:54:00 +11:00
jzmaddock
c36506f852 Merge pull request #17 from jeremy-murphy/polynomial_division
Polynomial division
2015-12-13 12:06:00 +00:00
Jeremy W. Murphy
99e6e2c3cb A better and more instructive unit test for gcd. 2015-12-11 11:58:33 +11:00
jzmaddock
61520b2ca4 adjust exepected error rate for Intel C++ 2015-12-03 12:44:34 +00:00
Jeremy W. Murphy
c313aed73b Explicitly cast right-hand argument to avoid MSVC C2666. 2015-11-28 09:00:21 +11:00
Jeremy W. Murphy
292bfc6752 Denormalize zero in multiplication to fit algorithmic requirements.
Fixes bug introduced by normalizing zero to the empty set.
2015-11-20 11:33:00 +11:00
Jeremy W. Murphy
e459241687 Use a different polynomial to test arithmetic relations.
This one appears to reveal a bug in operator *=.
2015-11-19 09:08:27 +11:00
Jeremy W. Murphy
e6e1e9440b Make the single-argument constructor explicit.
Prevent unexpected conversion to polynomial!
2015-11-18 12:15:35 +11:00
Jeremy W. Murphy
cca7e08d3f Make an explicit note of which unit tests currently fail. 2015-11-17 10:17:30 +11:00
Jeremy W. Murphy
87268a735a Division of polynomials over integers.
Test int and double throughout most of test suite.
2015-11-16 00:41:37 +11:00
Jeremy W. Murphy
94e961ec7c Division and modulus by a number.
Test that multiplication by 0.5 is equal to division by 2.
2015-11-09 00:43:29 +11:00
Jeremy Murphy
6ee7f90bf8 Typedef the coefficient type. 2015-11-04 20:15:38 +11:00
Jeremy W. Murphy
ac2943e053 Unit tests for arithmetic in general, especially for zero. 2015-11-03 23:59:29 +11:00
Jeremy W. Murphy
5cbeac0297 Update unit test; enable in Jamfile. 2015-11-01 16:11:53 +11:00
pabristow
57a71ba5f8 #11768: Skewness formula for triangular distribution corrected, tests added and docs updated. 2015-10-29 18:19:46 +00:00
Jeremy W. Murphy
03de702ee5 Unit testing... 2015-10-28 22:27:13 +11:00
Jeremy W. Murphy
f8fc1e4e35 Start making a unit test. 2015-10-27 10:35:06 +11:00
jzmaddock
aaa8a36a7e Fix some gcc-5.1.0 warnings 2015-09-24 11:12:11 +01:00
jzmaddock
3287c922ea Fix some corner cases in the beta functions.
Add better tests for the incomplete beta derivative.
Update docs to match.
2015-09-11 12:02:04 +01:00
jzmaddock
ce198cefe8 Fix some inspection report failures. 2015-09-08 12:04:27 +01:00
jzmaddock
59a2bd5cb8 Remove the quaternion directory and move contents elsewhere. 2015-09-07 19:09:55 +01:00
jzmaddock
0f91c5aca0 Removed octonion sub-folder and moved contents elsewhere. 2015-09-07 18:57:03 +01:00
jzmaddock
0884d77285 Add missing file 2015-09-06 19:31:53 +01:00
jzmaddock
c6593b149b Fix GCC test failures when building with -fno-exceptions. 2015-09-06 19:21:17 +01:00
jzmaddock
ba365b5aaa Enable running of tests with exception handling off.
And fix a few bugs that showed up in the process.
Currently msvc-only (not GCC as Boost.Test doesn't build).
2015-09-05 19:08:28 +01:00
jzmaddock
a0f0b96921 Fix case where non-centrality parameter for chi-squared is zero.
See https://svn.boost.org/trac/boost/ticket/11557.
2015-09-04 09:40:08 +01:00
jzmaddock
7dcabda78b Merge branch 'accuracy' into develop
Conflicts:
	test/float128/test_polygamma.cpp
	test/powm1_sqrtp1m1_test.hpp
2015-09-03 09:12:11 +01:00
jzmaddock
b91bb896ee Use BOOST_MATH_CONSTEXPR in test case to match header code. 2015-08-29 13:16:00 +01:00
jzmaddock
0971847993 Disable tests when not supported. 2015-08-29 13:15:38 +01:00
jzmaddock
8bf3f1dd86 Add missing file. 2015-08-28 12:59:08 +01:00
jzmaddock
57219acee9 Make more functions constexpr and noexcept. 2015-08-28 12:27:41 +01:00
jzmaddock
7419a04d63 Fix expected error rates 2015-08-24 13:11:01 +01:00
jzmaddock
00aa19e4a5 Fix ldexp call in test case. 2015-08-24 13:07:40 +01:00
jzmaddock
bbf8a7eb4e Fix iostream usage. 2015-08-23 17:52:06 +01:00
jzmaddock
7744ccc92e zero mean for inverse_gaussian isn't allowed. 2015-08-23 17:51:47 +01:00
jzmaddock
bf29ef6628 Begin marking up functions as constexpr and noexcept where possible. 2015-08-23 17:50:56 +01:00