Nick
|
289939a640
|
Merge branch 'develop' into remove_optional
|
2018-12-04 10:57:02 -07:00 |
|
Nick Thompson
|
51b259da19
|
Return integer with zero signaling common factor rather than boost::optional<Z>.
|
2018-12-04 10:55:03 -07:00 |
|
Andrey Semashev
|
4bc1a5eb75
|
Extracted DISABLE_MP_TESTS macro definition to a common header.
|
2018-11-05 22:56:03 +03:00 |
|
Andrey Semashev
|
682d4ac66b
|
Fixed tests not compiling on MSVC 8, added missing includes.
|
2018-11-04 01:00:57 +03:00 |
|
Nick Thompson
|
3599683975
|
#include <boost/config.hpp>
|
2018-11-01 12:11:09 -06:00 |
|
Nick Thompson
|
b3680b77fd
|
Disable tests for gcc < version 5
|
2018-11-01 12:02:18 -06:00 |
|
Nick Thompson
|
a7da90a79e
|
Make changes suggested by reviewer.
|
2018-10-29 13:10:02 -06:00 |
|
Nick Thompson
|
cd60c4c9f9
|
[CI SKIP] Disable multiprecision in certain compilers.
|
2018-10-29 08:52:20 -06:00 |
|
Nick Thompson
|
f76d776698
|
Define main when gcc version is < 5.
|
2018-10-28 23:28:28 -06:00 |
|
Nick Thompson
|
c4c3373708
|
Don't run tests on gcc 4 and earlier; not worth the pain.
|
2018-10-28 22:40:36 -06:00 |
|
Nick Thompson
|
de0d24733b
|
Remove dependency on boost/typeindex in tests.
|
2018-10-26 19:23:11 -06:00 |
|
Nick Thompson
|
0c6ec8088d
|
Just use asserts, omg.
|
2018-10-26 18:42:39 -06:00 |
|
Nick Thompson
|
2d463f3ee7
|
a*p % m may overflow, do not perform naive multiplication in unit tests or undefined behavior may result. [CI SKIP]
|
2018-10-26 11:19:43 -06:00 |
|
Nick Thompson
|
87e5b365d8
|
Return custom struct from extended Euclidean algorithm rather than tuple. Reduce number of operations for tests to reduce CI system workload. Disable discrete log tests until we have time to figure out why they are failing.
|
2018-10-25 09:38:16 -06:00 |
|
Nick Thompson
|
b3966428c4
|
[ci skip] Add test of short int to see if there's any obvious places for overflow (none are obvious, but no guarantees they still aren't there). Print basic information about the test to console so that failures are easier to track down.
|
2018-02-10 13:56:11 -06:00 |
|
Nick Thompson
|
8c415f77b1
|
[ci skip] Use less verbose naming. Add asserts as verfication of algorithms is a negligible fraction of total runtime. Use boost::multiprecision::powm and boost::multiprecision::sqrt rather than one-offs.
|
2018-02-09 17:19:26 -06:00 |
|