Peter Dimov
6820bcb4e2
Merge pull request #5 from danieljames/metadata
...
Create metadata file.
2015-01-25 20:30:43 +02:00
Mario Lang
a5bfd77e52
Update for the move of common_factor_rt from math to integer.
2015-01-20 23:13:47 +01:00
Mario Lang
1673b917de
Merge branch 'master' into gcd_lcm
2015-01-20 23:13:00 +01:00
Peter Dimov
48cc47c6d1
Merge branch 'develop'
2015-01-15 03:51:24 +02:00
Peter Dimov
b8ee36c542
Replaced math::gcd, lcm references to integer.
2015-01-15 03:50:48 +02:00
Peter Dimov
462293ae56
Merge branch 'develop'
...
Conflicts:
include/boost/rational.hpp
rational.html
test/rational_test.cpp
2015-01-15 03:37:00 +02:00
Mario Lang
28ba48d2c9
Support for gcd and lcm of rational numbers.
2014-11-18 01:47:47 +01:00
Daniel James
38777534cc
Add metadata file.
2014-08-18 15:10:02 +01:00
jzmaddock
bede51e319
We can have a throw expression in a converting constructor after all - fix so it works.
...
Also test that converting constructor does throw when expected.
2014-07-28 11:50:47 +01:00
jzmaddock
0d15c803b2
Merge branch 'constexpr-checks' into boost_throw_exception
2014-07-28 11:33:09 +01:00
jzmaddock
cdc63aee80
Add constexpr usage checks - without these we can't be sure that other changes don't break something.
2014-07-28 11:27:33 +01:00
jzmaddock
bf07b2f05d
Use BOOST_THROW_EXCEPTION throughout.
...
Note that template converting constructor is now no longer constexpr - however that was always really the case since a function that potentially throws can't be used in a constexpr context anyway.
2014-07-28 11:18:52 +01:00
jzmaddock
5fddb3f889
Update rational.hpp
...
Access to the numerator and denominator is unnecessarily inefficient when using rational with multiprecision types (ie where copying is relatively expensive), this change returns const-references to numerator and denominator. In all other respects existing code should be uneffected by this change.
2014-07-28 09:51:00 +01:00
Stephen Kelly
9ee8441000
Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macro.
...
[SVN r85896]
2013-09-25 10:29:44 +00:00
Daryle Walker
c7b0c7c41e
Removed unneeded forward declarations, added defaulted parameter to private helper function; both suggested by Mario Lang
...
[SVN r85548]
2013-09-02 05:37:45 +00:00
Daryle Walker
2b307a4a18
Integrated Boost.Rational's sanity checks during assignment in the input operator, respecting IOStreams' exception policy
...
[SVN r85541]
2013-09-01 10:54:47 +00:00
Daryle Walker
5e8a48d030
Fixed normalization problem with Boost.Rational's "assign"; add check for negative values too large for normalization (refs #9067 )
...
[SVN r85526]
2013-08-30 13:18:37 +00:00
Daryle Walker
d5319c0c14
Started modernizing Boost.Rational I/O (refs #7187 )
...
[SVN r85519]
2013-08-30 00:22:01 +00:00
Daryle Walker
48d70b695d
Make the I/O part of Boost.Rational conditional on the configuration flag BOOST_NO_IOSTREAM (refs #7250 ).
...
[SVN r85498]
2013-08-28 07:12:48 +00:00
Daryle Walker
2c1bfb7ed7
Added cross-instantiation constructor template, refs #9018 .
...
[SVN r85484]
2013-08-27 10:35:26 +00:00
Daryle Walker
d9d55b3245
Add constexpr to some functions in Boost.Rational
...
[SVN r85454]
2013-08-25 08:36:27 +00:00
Daryle Walker
17c9349025
Merged [85417], [85418], and [85434] from trunk to release, fixing show-stoppers for Boost.Rational, like #5855 and a C++11 update for some test code
...
[SVN r85441]
2013-08-24 08:17:46 +00:00
Daryle Walker
ceee860166
Changed "not" to "!" for MSVC compatibility.
...
[SVN r85434]
2013-08-23 09:01:59 +00:00
Daryle Walker
674a61fabe
Used static_cast to suppress a warning/error about a narrowing conversion. Fixes #5855 .
...
[SVN r85418]
2013-08-21 23:24:54 +00:00
Daryle Walker
ab31654dd2
Changed the two std::numeric_limits specializations to insert the two new members added in C++11. (Boost.Test uses one of them in its C++11 code.)
...
[SVN r85417]
2013-08-21 21:07:29 +00:00
Steven Watanabe
91fc23c802
Implement rational<IntType>/IntType operations directly to reduce calls to gcd. Patch by Mario Lang.
...
[SVN r78537]
2012-05-22 02:07:33 +00:00
Gennadiy Rozental
aa401ee8d9
eliminated test_case_template.hpp
...
[SVN r74735]
2011-10-05 10:28:08 +00:00
Troy D. Straszheim
a23c6ef3a9
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
9e13da68bd
rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
...
[SVN r56941]
2009-10-17 01:10:45 +00:00
Troy D. Straszheim
6a8aa28e52
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Troy D. Straszheim
d996df2b26
Add basic copyright/license to keep cmake out of the inspection report
...
[SVN r55095]
2009-07-22 21:51:01 +00:00
Jeremiah Willcock
697ee2e91b
Fixed almost all tab and min/max issues found by inspect tool
...
[SVN r53142]
2009-05-20 19:41:20 +00:00
Daniel James
301ac7dd28
Merged revisions 45283,48266 via svnmerge from
...
https://svn.boost.org/svn/boost/trunk
........
r45283 | danieljames | 2008-05-11 14:49:20 +0100 (Sun, 11 May 2008) | 1 line
Quote href values - our tools don't support unquoted values.
........
r48266 | danieljames | 2008-08-20 20:32:23 +0100 (Wed, 20 Aug 2008) | 1 line
Fix the link to the limits documentation.
........
[SVN r51902]
2009-03-22 17:30:02 +00:00
Troy D. Straszheim
0867febd79
merge of cmake build files from trunk per beman
...
[SVN r50756]
2009-01-24 18:57:20 +00:00
Boris Gubenko
a51d8489c0
merge tests and Jamfiles for 7 libraries
...
[SVN r50456]
2009-01-04 05:17:02 +00:00
John Maddock
a2459c1424
Merge trivial fixes from Trunk.
...
[SVN r50364]
2008-12-22 11:57:25 +00:00
John Maddock
4f0a8148b3
MSVC warning suppression.
...
Fixes #2606 .
[SVN r50363]
2008-12-22 09:57:35 +00:00
Michael A. Jackson
2a6d215d27
Updating dependency information for modularized libraries.
...
[SVN r49628]
2008-11-07 17:05:27 +00:00
Michael A. Jackson
c199efeaa3
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
ac4f2e9484
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Daryle Walker
94caf9a401
Tweaked files to pass inspection report; one file had some min/max violations; but all had to have 'boostinspect:nolicense' set because a copyrighter, Paul Moore, has disappeared, so his files can never be changed to the main Boost license
...
[SVN r47847]
2008-07-27 23:43:04 +00:00
Jonathan Turkanis
fa7f26c8f4
fixed issue 1545
...
[SVN r45750]
2008-05-25 19:13:02 +00:00
Daniel James
b889865e0d
Quote href values - our tools don't support unquoted values.
...
[SVN r45283]
2008-05-11 13:49:20 +00:00
Rene Rivera
1b8403048e
Move rational tests into canonical test subdir structure.
...
[SVN r44386]
2008-04-13 23:36:17 +00:00
Daniel James
2bd157548b
Merged revisions 43206,43208-43213 via svnmerge from
...
https://svn.boost.org/svn/boost/trunk
........
r43206 | danieljames | 2008-02-10 09:55:03 +0000 (Sun, 10 Feb 2008) | 1 line
Fix some broken links.
........
r43209 | danieljames | 2008-02-10 14:56:22 +0000 (Sun, 10 Feb 2008) | 1 line
Link to people pages on the website, as they've been removed from the download.
........
r43210 | danieljames | 2008-02-10 15:02:17 +0000 (Sun, 10 Feb 2008) | 1 line
Point links to the pages that used to be in 'more' to the site.
........
r43212 | danieljames | 2008-02-10 16:10:16 +0000 (Sun, 10 Feb 2008) | 1 line
Fix links on the home page as well.
........
r43213 | danieljames | 2008-02-10 16:21:22 +0000 (Sun, 10 Feb 2008) | 1 line
Generated documentation which is no longer generated.
........
[SVN r43214]
2008-02-10 16:39:38 +00:00
Daniel James
f541553180
Point links to the pages that used to be in 'more' to the site.
...
[SVN r43210]
2008-02-10 15:02:17 +00:00
Daniel James
ca66fb3c87
Link to people pages on the website, as they've been removed from the download.
...
[SVN r43209]
2008-02-10 14:56:22 +00:00
Beman Dawes
130ce9f33f
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41370]
2007-11-25 18:38:02 +00:00
Beman Dawes
cc8833391d
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41369]
2007-11-25 18:07:19 +00:00
Beman Dawes
a004190637
Starting point for releases
...
[SVN r39706]
2007-10-05 14:25:06 +00:00