James E. King III
47c1b26964
Change coverity scan build to use stock xenial g++ for compatibility
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
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
.
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'
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'
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'
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
Edward Diener
370d41a399
Merge remote-tracking branch 'remotes/origin/develop'
2016-09-10 10:23:53 -04:00
Marshall Clow
c6ae67ffc4
Merge pull request #12 from geoffromer/develop
...
Drop using directive, and fully qualify std names.
2015-11-30 13:41:36 -08:00
Geoff Romer
1307b89a2f
Drop using directive, and fully qualify std names.
...
Even with `using namespace std`, it's not safe to use names from std
without qualification in a header file, because the names may conflict
with names in the global namespace, leading to ambiguities.
2015-11-30 12:26:38 -08:00
Edward Diener
d64b2c1b71
Merge branch 'develop'
2015-10-15 21:29:05 -04:00
Edward Diener
d2a6a5a436
Merge pull request #10 from mclow/develop
...
Remove use of deprecated macros in test
2015-09-11 18:37:18 -04:00
Marshall Clow
ae5aa0b0fc
Remove use of deprecated macros in test
2015-09-11 15:26:47 -07:00
Edward Diener
6c1cad78a2
Merge pull request #6 from mlang/gcd_lcm
...
Support for gcd and lcm of rational numbers.
2015-08-27 12:57:37 -04:00
Edward Diener
e9e18ff591
Merge pull request #8 from MarcelRaad/patch-1
...
Fix test compile break
2015-08-27 12:17:55 -04:00
Marcel Raad
7459b2fe43
Fix test compile break
...
A semicolon is now required after BOOST_GLOBAL_FIXTURE because of 3f7216db3d
.
2015-06-27 11:43:15 +02:00
Mario Lang
c90f4c9af8
Add tests for gcd and lcm on rationals.
2015-04-03 20:01:30 +02:00
Mario Lang
a5dfd176d3
Qualify to avoid ambiguities.
2015-04-03 20:01:06 +02:00
Marshall Clow
a69d2d9ea6
Merge pull request #3 from jzmaddock/boost_throw_exception
...
Boost throw exception.
@jzmaddock ; if you remind me tomorrow, I will merge to master. (after the tests cycle)
2015-04-01 19:25:41 -07:00
Marshall Clow
09ef5b4370
Merge pull request #2 from jzmaddock/constexpr-checks
...
Add constexpr usage checks.
@jzmaddock ; if you remind me tomorrow, I will merge to master. (after the tests cycle)
2015-04-01 19:24:12 -07:00
Marshall Clow
92a0f30c66
Merge pull request #1 from jzmaddock/patch-1
...
Update rational.hpp
Now I have write access ;-)
@jzmaddock ; if you remind me tomorrow, I will merge to master. (after the tests cycle)
2015-04-01 19:23:54 -07:00
jzmaddock
6f3a1702d6
Merge branch 'constexpr-checks' into boost_throw_exception
2015-03-31 12:17:08 +01:00
jzmaddock
c29fd7848e
Move constexpr test cases into separate file.
2015-03-31 12:12:44 +01:00
Peter Dimov
78f2b483cb
Merge branch 'develop'
2015-01-29 16:06:21 +02:00
Peter Dimov
f41c8a3c79
Merge pull request #7 from awulkiew/patch-1
...
Replace while(true) with for(;;) to suppress compiler warning.
2015-01-29 16:03:46 +02:00
Adam Wulkiewicz
8ba6fb10c9
Replace while(true) with for(;;) to suppress compiler warning.
...
msvc warning C4127: conditional expression is constant
2015-01-28 23:59:38 +01:00
Peter Dimov
fb77fc9ea2
Merge branch 'develop'
2015-01-25 21:08:51 +02:00