Commit Graph

459 Commits

Author SHA1 Message Date
Bernardo Sulzbach
ba7ea7f846 Fixed a typo in ::least 2021-01-31 14:03:24 +01:00
Andrey Semashev
092d94c833 Converted all links to www.boost.org to https.
Closes https://github.com/boostorg/integer/pull/25.
2021-01-20 11:34:42 +03:00
Andrey Semashev
100f5e51bd [skip ci] Merge pull request #23 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-20 11:19:43 +03:00
Edward Diener
0322c761b8 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-19 22:55:23 -05:00
Andrey Semashev
831869a51f Added checks for C++11 features required by Boost.Multiprecision.
As of 2021, Boost.Multiprecision does not support C++03 and fails tests
of Boost.Integer. To mitigate, we replicate the preprocessor checks of
Boost.Multiprecision to disable its use in Boost.Integer tests in C++03
mode.
2021-01-11 15:27:10 +03:00
jzmaddock
45df7932c1 Update README.md 2021-01-11 09:53:24 +00:00
jzmaddock
3723b0694a Merge pull request #22 from sdarwin/drone
Drone config
2021-01-07 19:40:22 +00:00
sdarwin
e683a37a4d add drone config [ci skip] 2021-01-07 18:12:46 +00:00
Andrey Semashev
a9de4c0076 Added explicit specification of addres-model=32 for MSVC-9 to 12.
Works around https://github.com/boostorg/build/issues/659.
2020-12-12 10:58:21 +03:00
Andrey Semashev
54dcfa677d Added a workaround for C++20 ostream having deleted operator<< for wchar_t. boost-1.75.0.beta1 boost-1.75.0 boost-1.74.0.beta1 boost-1.74.0 2020-05-23 20:05:02 +03:00
Andrey Semashev
560df48888 Added gcc 10 build jobs to Travis CI. 2020-05-22 18:42:46 +03:00
Andrey Semashev
6bb937fa5f Fixed compilation of gcd in C++20 mode with clang 10.
Due to the new overload resolution rules for comparison operators in C++20,
the comparison became ambiguous.
2020-05-07 14:35:47 +03:00
Andrey Semashev
a6a6b1f064 Added clang-10 jobs to Travis CI. 2020-05-05 23:22:14 +03:00
Andrey Semashev
9e6b3d375a Added missing includes. 2020-05-02 18:34:43 +03:00
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