jzmaddock
383c024400
Fix missing arguments.
2016-10-29 17:58:22 +01:00
jzmaddock
3370ea2f79
Add missing #include.
...
Fixes https://svn.boost.org/trac/boost/ticket/12537 .
2016-10-19 19:27:37 +01:00
jzmaddock
4787d870c6
Suppress some msvc warnings.
2016-10-19 19:22:37 +01:00
inkstink
dd6ac8f9da
typos
2016-08-19 20:47:49 -04:00
inkstink
c9d9f446c5
fixed typos for real this time
2016-08-19 20:42:14 -04:00
inkstink
950d3990e4
fixed typos
2016-08-19 20:33:24 -04:00
jzmaddock
5d48124b80
Adjust Intel C++ error rates.
2016-08-10 18:52:26 +01:00
jzmaddock
a74dca9089
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-07-22 09:28:45 +01:00
jzmaddock
d3a570e91a
Fix Intel C++ test failures
2016-07-22 09:27:15 +01:00
John Maddock
48a2c84843
Fix expected error rates for Oracle C++ on Solaris
2016-07-19 17:54:30 +00:00
jzmaddock
94d81d96ce
Stop testing details that have been removed
2016-07-15 02:14:38 +01:00
jzmaddock
9127a2f707
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-07-15 01:31:17 +01:00
jzmaddock
12feba86fa
Remove references to removed gcd/lcd code.
2016-07-15 18:36:55 +01:00
jzmaddock
cbb0cce89b
Disable initializer_list support for GCC-4.4 as it doesn't fully support the new syntax and there appears to be no workaround.
2016-07-15 01:24:18 +01:00
jzmaddock
2934670e51
Disable some tests for older msvc compilers.
2016-07-11 18:31:51 +01:00
jzmaddock
e4cd194686
Fix misc clang issues
2016-06-04 19:26:59 +01:00
jzmaddock
1cb146a001
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-05-31 13:36:01 +01:00
jzmaddock
8cb9be7699
Change test data so it always uses the SC_ macro:
...
it helps multiprecision tests, and in particular allows us to test types whose precision varies at runtime.
2016-05-31 13:35:37 +01:00
Jeremy W. Murphy
94526e54c7
Merge branch 'develop' into polynomial_zero
...
# Conflicts:
# test/test_polynomial.cpp
2016-05-15 21:03:12 +10:00
Kolya Matteo
42249f03e7
Simplify one and zero polynomial declarations
2016-05-13 09:06:36 -04:00
Jeremy W. Murphy
e608dc6657
Rename clear() to set_zero().
2016-05-13 18:27:31 +10:00
Kolya Matteo
c7d7a0ce6e
Add unit tests for polynomial pow
2016-05-11 15:05:13 -04:00
Jeremy W. Murphy
a737a3f5c2
operator bool() and clear(): test for zero and set to zero respectively.
...
Checking for zero or non-zero and setting to zero are common operations,
so fast implementations
2016-05-11 14:02:16 +10:00
jzmaddock
bea587f3fd
Merge branch 'gcd_n' of https://github.com/jeremy-murphy/math into develop
...
# Resolved Conflicts:
# include/boost/math/common_factor_rt.hpp
# test/test_gcd.cpp
2016-05-09 18:59:17 +01:00
jzmaddock
c9bf1df944
Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into develop
...
# Resolved Conflicts:
# test/test_polynomial.cpp
2016-05-09 18:29:22 +01:00
jzmaddock
cace9b59de
Merge branch 'gcd' into develop
...
# Resolved Conflicts:
# test/test_polynomial.cpp
2016-05-09 18:15:54 +01:00
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
Jeremy W. Murphy
a822400320
Merge branch 'develop' into polynomial_shift
...
# Conflicts:
# test/test_polynomial.cpp
2016-05-07 18:27:46 +10:00
Jeremy W. Murphy
e3101bc0eb
Return pair of <T, I> that includes the termination position.
2016-05-07 14:33:35 +10:00
Jeremy W. Murphy
ffd40ccb5f
Actually test n = 1 for gcd_range.
2016-05-07 11:01:57 +10:00
Jeremy W. Murphy
df8c6584dc
Rename gcd_n to gcd_range.
2016-05-07 10:58:43 +10: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
Jeremy W. Murphy
03e71021ac
Unit test.
...
# Conflicts:
# include/boost/math/common_factor_rt.hpp
2016-04-15 07:20:15 +10:00
Jeremy W. Murphy
5b8c448ce0
gcd of n values.
2016-04-14 14:22:12 +10:00
Jeremy W. Murphy
e963c67af2
Normalize after left-shift assignment to prevent denormalized zeroes.
2016-04-10 01:27:36 +10:00
jzmaddock
e1dd0645a7
Improve gcd tests.
2016-04-06 18:02:39 +01:00
jzmaddock
11500b787b
Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into gcd
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-06 17:58:21 +01: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
Jeremy W. Murphy
238cd6078b
polynomial: odd/even predicates.
...
We use the definition of odd and even consistent with considering x as the
smallest prime factor. That is, an even polynomial has a constant of zero.
2016-03-28 16:04:27 +11:00
Jeremy W. Murphy
e9da8a10bf
polynomial: Left and right shift operators.
...
Shifting adds or removes a factor of x in the same way that shifting adds
or removes a factor of 2 to integers.
2016-03-27 22:03:33 +11: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