176 Commits

Author SHA1 Message Date
Philip Savoulidis
894bd14cba Fix arbitrary precision rationals with negative denominator 2025-07-03 12:43:06 -04:00
James E. King III
600958e3ed Implement reusable Boost.CI workflow for GHA 2025-07-02 17:20:57 -04:00
James E. King III
3c6dfc84c9 Fix coverage results including test directory boost-1.90.0.beta1 boost-1.90.0 boost-1.89.0 boost-1.88.0.beta1 boost-1.88.0 2025-01-01 15:17:21 +00:00
James E. King III
4c8dc3ab17 Update CI to 2024.12 spec, update README 2024-12-28 22:11:53 +00:00
Alexander Grund
f47a069ed1 Use boost.io node 2024-12-24 09:03:04 -05:00
James E. King III
14cf3de0ad Update CI and mark as C++11 or later due to dependencies. 2024-12-01 04:41:29 +00:00
Rene Rivera
c6561e9888 Update build deps. 2024-11-30 17:37:02 -05:00
Rene Rivera
8dd6c5c44f Move inter-lib dependencies to a project variable and into the build targets. 2024-11-30 17:37:02 -05:00
Rene Rivera
012c397fe8 Update copyright dates. 2024-11-30 17:37:02 -05:00
Rene Rivera
7b1570dd21 Bump B2 require to 5.2 2024-11-30 17:37:02 -05:00
Rene Rivera
6cb32c0987 Add requires-b2 check to top-level build file. 2024-11-30 17:37:02 -05:00
Rene Rivera
07cc88041a Add missing import-search for cconfig/predef checks. 2024-11-30 17:37:02 -05:00
Rene Rivera
140456601f Switch to library requirements instead of source. As source puts extra source in install targets. 2024-11-30 17:37:02 -05:00
Rene Rivera
cd9852e6b9 Make the library modular usable. 2024-11-30 17:37:02 -05:00
Peter Dimov
5646231364 Update test/CMakeLists.txt boost-1.87.0.beta1 boost-1.87.0 boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.84.0.beta1 boost-1.84.0 boost-1.83.0.beta1 boost-1.83.0 boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 boost-1.80.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1 boost-1.78.0 boost-1.77.0.beta1 boost-1.77.0 2021-06-07 03:50:31 +03:00
Peter Dimov
db31e62e65 Regenerate CMakeLists.txt 2021-05-30 07:31:20 +03:00
Edward Diener
7698ed3325 [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. (#47) 2021-01-21 19:20:44 -05:00
Glen Fernandes
1eea3a1ccc Fix operators to work with C++20
C++20 implicit operator generation rules added as part of the <=> spaceship proposal result in an infinite loop with the current Rational implementation. This fixes the Rational implementation to work correctly in C++20.
boost-1.76.0.beta1 boost-1.76.0 boost-1.75.0
2020-11-16 09:31:24 -05:00
Glen Fernandes
fcfd74e583 Update appveyor configuration 2020-11-15 12:47:14 -05:00
Glen Fernandes
1180199b1f Update travis configuration 2020-11-15 02:54:34 -05:00
James E. King III
47c1b26964 Change coverity scan build to use stock xenial g++ for compatibility boost-1.74.0 boost-1.74.0.beta1 boost-1.75.0.beta1 boost-1.73.0.beta1 boost-1.73.0 boost-1.72.0.beta1 boost-1.72.0 boost-1.71.0.beta1 boost-1.71.0 2019-04-19 13:43:04 -04:00
James E. King III
adb973b99a Update Travis CI Build 2019-04-19 06:42:34 -04:00
Aleksander
0ccc0230ab Do not create rational from array type. (#36)
* Do not create rational from array type.
* Fix build on older compilers.
2019-04-16 11:42:54 -04:00
Mike-Devel
683eca0304 [CMake] Add minimal cmake support (#35)
* [CMake] Add minimal cmake support

- Only supports add_subdirectory workflow
- Provides target Boost::rational
- Does not support installation
- Does not compile/run unit tests

* [CMake] Add unit tests

* [CMake] Fix typo in option name and some formatting

* [CMake] Fix typo in test inclusion check
2019-04-16 11:42:02 -04:00
James E. King III
3fc4192167 Enhance CI boost-1.70.0.beta1 boost-1.70.0 boost-1.69.0-beta1 boost-1.69.0 2018-11-04 06:52:12 -05:00
Tony E Lewis
f749952f0b Add more constexpr to code and doc (#32)
* Change some C++14 constexprs to C++11 constexprs
* Update doc to reflect constexpr changes
2018-11-02 08:20:58 -04:00
James E. King III
93ec663260 Expand Travis CI for more coverage 2018-10-30 06:55:20 -04:00
Tony Lewis
ec10199410 Liberally scatter BOOST_CXX14_CONSTEXPR throughout 2018-10-29 16:23:35 -04:00
James E. King III
2c7fe1aae7 Revert "Add pow method"
This reverts commit 25ad8e5a5c.
boost-1.68.0
2018-07-14 11:18:52 -04:00
James E. King III
370e313847 Remove sudo commands from travis build 2018-07-13 16:26:55 -04:00
James E. King III
53fda5c5d8 Merge branch 'master' into develop 2018-06-18 01:29:47 +00:00
James E. King III
25ad8e5a5c Add pow method 2018-06-17 21:18:01 -04:00
James E. King III
70fe05040b Fix coverity scan badge url in readme 2018-06-14 08:18:19 -04:00
James E. King III
7a903aea77 Fix coverity scan integration 2018-06-14 08:15:14 -04:00
James E. King III
63f7de8074 Add CI framework
- travis with valgrind, cppcheck, ubsan, codecov, covscan (future)
  - appveyor with MSVC 2010 through 2017, cygwin 32/64, mingw 32/64
  - README, LICENSE, etc.
2018-06-14 08:13:24 -04:00
Edward Diener
9ba0edf5e5 Merge branch 'develop' boost-1.67.0 boost-1.66.0 2017-09-14 11:47:18 -04:00
Edward Diener
ee177e69d0 Merge pull request #17 from boostorg/jzmaddock-patch-1
Update history in documentation
2017-07-14 11:44:24 -04:00
jzmaddock
7cf4c37a5b Update history in documentation
Looks like the history hasn't been updated since at least 2013!

I think contains the main changes, also tidies up the HTML a bit, though I doubt it's html-tidy clean or anywhere near it :(
2017-07-14 13:04:10 +01:00
Edward Diener
5a3b9e85ed Merge branch 'develop' boost-1.65.1 boost-1.65.0 boost-1.64.0 2017-03-31 09:04:13 -04:00
Edward Diener
d1cd08fc15 Added a few mixed sign, mixed types constructor/assign tests. 2017-03-27 15:06:16 -04:00
Edward Diener
e36861a6bd Merge pull request #15 from jzmaddock/mixed_arg_construct
Add support for construction/assignment from two different integer ty…
2017-03-27 14:42:33 -04:00
jzmaddock
304e895242 Add remaining possible mix of conversions to tests. 2017-03-27 18:22:58 +01:00
jzmaddock
44f1c9501b Add support for construction/assignment from two different integer types.
Improve tests - check for mixed construction, and test domain_errors occur at the correct boundaries.
2017-03-27 08:23:58 +01:00
Marshall Clow
35511c16d1 Merge pull request #14 from Flast/bugfix/compare-const-object
Comparators should be const member. Thanks - please watch the bots to make sure this doesn't break anything, and then ping me in a week or so to remind me to merge to master
2017-02-08 14:19:28 -08:00
Kohei Takahashi
eefada58f9 Update comparison tests and const-ness. 2017-02-03 16:52:19 +09:00
Kohei Takahashi
b2fc4f28e9 Comparators should be const member.
And constexpr is no longer const after c++14: In c++11, non-static constexpr
member is implicitly const member, but after c++14 it isn't.
2017-02-03 16:52:08 +09:00
Edward Diener
1fdc0d22a7 Merge branch 'develop' boost-1.64.0-beta2 boost-1.64.0-beta1 2017-01-04 15:31:59 -05:00
Edward Diener
30792f0abb Add a readme in the doc subdirectory. 2017-01-04 15:29:49 -05:00
Edward Diener
67ff949afd Merge pull request #13 from jzmaddock/no-float-convert-2
Merge branch 'no-float-convert' of https://github.com/jzmaddock/ratio…
2016-12-28 14:36:28 -05:00
jzmaddock
ff2530e119 Merge branch 'no-float-convert' of https://github.com/jzmaddock/rational into develop
# 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-12-28 19:22:56 +00:00