Commit Graph

495 Commits

Author SHA1 Message Date
Andrey Semashev 5e2a2722f1 Use BOOST_ASSERT instead of assert. 2020-05-02 18:18:10 +03:00
Andrey Semashev 5ae18d139e Use BOOST_BORLANDC in integer_log2.hpp 2020-05-02 18:16:16 +03:00
Andrey Semashev 58da9b5aa8 Merge pull request #21 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74
2020-05-02 18:14:59 +03:00
Edward Diener 6cb625550f Change to run MP testing in integer for Embarcadero C++ clang-based compilers. 2020-04-11 12:37:31 -04:00
Edward Diener c7a22c9bac Embarcadero C++ clang-based compilers can not handle multiprecision comparisons in lightwieght tests, but gives a linker error. This has been reported to Embarcadero as a bug. 2020-04-10 11:56:41 -04:00
Edward Diener 52c02d1237 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-29 08:30:32 -04:00
Andrey Semashev bee5818e18 Disabled all but one OS X jobs because they are slow on Travis CI. boost-1.72.0.beta1 boost-1.73.0 boost-1.73.0.beta1 boost-1.72.0 2019-10-22 15:04:28 +03:00
Andrey Semashev 1067b2d170 Updated CI configs, added compilers. 2019-10-22 00:38:27 +03:00
Glen Fernandes 8cfbb2a222 Update Travis configuration 2019-10-16 23:34:03 -04:00
Glen Fernandes 00154b31a5 Merge pull request #20 from tinko92/develop
Fixes a broken link to the Microsoft KB.
2019-04-24 05:32:58 +10:00
Tinko Bartels 63f14838a0 Fix a broken link to the Microsoft KB. 2019-04-23 21:29:53 +02:00
Andrey Semashev 33c165552c Fixed incorrect loop termination in lcm_range.
lcm_range used to incorrectly terminate on value of 1. Instead, it should
terminate on 0 since any further elements of the range no longer affect
the result of the function.

Also, added tests for the gcd_range and lcm_range functions verifying
that they terminate their loops at the correct points.
boost-1.71.0.beta1 boost-1.71.0 boost-1.70.0
2019-03-26 01:55:18 +03:00
Andrey Semashev 5195d682ec Enabled multiple git fetch jobs while executing depinst in CI. Increased the number of jobs to 8. boost-1.70.0.beta1 2019-01-15 13:51:57 +03:00
Andrey Semashev 49dd6f5645 Use the actual number of logical CPUs for the number of CI build/test jobs. 2019-01-03 23:10:05 +03:00
Andrey Semashev 96f430b7e2 Re-added manual checkout of libs/config in CI as Boost.Build depends on it. 2018-12-20 20:45:39 +03:00
Andrey Semashev 39082b1bc5 Use a separate submodule update step with parallel checkouts to speedup CI job startup. 2018-12-18 22:33:50 +03:00
Andrey Semashev 51d1b16bfd Added tools/boost_install and libs/headers manual checkout to CI jobs. 2018-12-18 21:57:43 +03:00
Andrey Semashev 131107704f Added an experimental partial CMakeLists.txt for dependency tracking in CMake projects. 2018-12-18 19:35:32 +03:00
Andrey Semashev eaf2561e95 Merge pull request #17 from NAThompson/remove_optional
Return integer with zero signaling common factor rather than boost::optional
2018-12-05 13:06:55 +03:00
Nick Thompson 29e3ae824c Fully qualify call. 2018-12-04 12:09:31 -07:00
Nick Thompson 0af165bf6d Merge branch 'remove_optional' of https://github.com/NAThompson/integer into remove_optional 2018-12-04 11:31:12 -07:00
Nick Thompson 080f2bdfdc Take care of the case where integer type Z has explicit constructor. 2018-12-04 11:27:37 -07:00
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
Andrey Semashev 2f634ca78b Added missing includes, remove C++11 requirement, other code cleanup.
Also, use Boost.Swap instead of the direct unqualified call to std::swap
and boost::enable_if_c instead of std::enable_if.
2018-11-03 23:10:44 +03:00
Andrey Semashev 2b08ca9368 Removed auto-generated docs from git. 2018-11-03 22:48:58 +03:00
Andrey Semashev aa68e17f2e Merge pull request #11 from NAThompson/develop
Modular exponentiation, modular multiplicative inverse
2018-11-03 22:46:30 +03:00
Nick Thompson cad4623876 Regenerate documentation. 2018-11-02 13:45:45 -06:00
Nick Thompson 9a7f24e8ca Merge remote-tracking branch 'upstream/develop' into develop
Merge upstream [CI SKIP]
2018-11-01 17:12:50 -06: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
Andrey Semashev 099cf261b0 Added clang 7 CI job. boost-1.69.0-beta1 boost-1.69.0 2018-11-01 20:24:04 +03:00
Andrey Semashev ab509ca840 Use https in URLs in readme. 2018-11-01 16:33:47 +03:00
Andrey Semashev 37204ea892 Corrected a typo in readme. 2018-11-01 16:25:15 +03:00
Andrey Semashev 5df4961448 Added CI build statuses to readme. 2018-11-01 16:14:20 +03:00
Andrey Semashev 95a19b6364 Merge pull request #14 from boostorg/danieljames-patch-1
Fix json error
2018-10-30 11:46:15 +03:00
Daniel James 8674c6724f Fix json error 2018-10-30 07:47:30 +00:00
Nick Thompson a7da90a79e Make changes suggested by reviewer. 2018-10-29 13:10:02 -06:00
Nick Thompson 9312962a68 Use using std::swap; swap(n,m) rather than std::swap(n,m) [CI SKIP] 2018-10-29 13:00:30 -06:00
Nick Thompson df7adb52ca Use std::enable_if to enable SFINAE rather than static_assert 2018-10-29 11:58:18 -06:00
Nick Thompson 6c58aa9a48 Merge remote-tracking branch 'upstream/develop' into develop 2018-10-29 08:53:12 -06:00
Nick Thompson cd60c4c9f9 [CI SKIP] Disable multiprecision in certain compilers. 2018-10-29 08:52:20 -06:00
Andrey Semashev 7c5def9d39 Disable Boost.Multiprecision tests for gcc 4.7 in C++11 mode.
The compiler fails in Boost.TypeTraits which is used in Boost.Multiprecision.
2018-10-29 12:25:55 +03:00
Andrey Semashev 791a139a51 Disable testing C++14 and 17 on clang 3.8 and 3.9.
The compiler uses libstdc++ from gcc 4.8, which does not support C++14.
In particular, it is trying to import the missing ::gets function.
2018-10-29 12:13:42 +03:00
Andrey Semashev 835ac98a23 Fail libgmpxx detection on Linux if libstdc++ is not used as the std library.
libgmpxx was built against libstdc++, so if the application uses e.g. libc++,
linking fails because of the standard symbols mismatch.
2018-10-29 12:07:06 +03: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 bbb1da275b Merge master; fix Jamfile 2018-10-28 21:14:31 -06:00