Commit Graph

597 Commits

Author SHA1 Message Date
jzmaddock
4558e574d1 Bring docs into line with code, regenerate HTML. boost-1.59.0 2015-07-20 13:04:54 +01:00
jzmaddock
d188b541f1 Update history.
Conflicts:
	doc/html/boost_multiprecision/indexes/s01.html
	doc/html/boost_multiprecision/indexes/s02.html
	doc/html/boost_multiprecision/indexes/s03.html
	doc/html/boost_multiprecision/indexes/s04.html
	doc/html/boost_multiprecision/map/hist.html
	doc/html/index.html
2015-07-19 19:12:47 +01:00
jzmaddock
70198c3a67 Don't use conditional noexcept with gcc-4.6.x as it causes issues.
See https://svn.boost.org/trac/boost/ticket/11402
2015-07-19 19:12:25 +01:00
jzmaddock
44d74a5ce1 Fix definitions of numeric_limits out-of-line members. 2015-07-19 19:12:24 +01:00
Alexandre Hamez
e6fd333f3c Fix exception message 2015-07-19 19:11:49 +01:00
jzmaddock
f866903e9d Fix test failures for special functions. 2015-07-19 19:11:49 +01:00
jzmaddock
fec524f93a Split test up again - still too big! 2015-07-19 19:11:49 +01:00
jzmaddock
7333ad455d Simplify code so msvc-12 can cope.
Errors only show up in certain complex cases, most notably in Boost.Random's test suite.
2015-07-19 19:11:49 +01:00
jzmaddock
2d8d8528b7 Remove unused typedef. 2015-07-19 19:11:48 +01:00
jzmaddock
9cd23ea8bd Fix signed/unsigned comparison. 2015-07-19 19:11:29 +01:00
jzmaddock
db6b075e7a Remove unneeded typedef. 2015-07-19 19:11:29 +01:00
jzmaddock
85b60a1e81 Add missing #include. 2015-07-19 19:11:29 +01:00
jzmaddock
1c3dae17ad Fix issue with ambiguous conversions. 2015-07-19 19:11:29 +01:00
jzmaddock
82c8c2692c Fix typecast. 2015-07-19 19:11:28 +01:00
jzmaddock
6d7a27889e Fix signed exclusive-bitwise-or to handle carry correctly.
See https://svn.boost.org/trac/boost/ticket/11364.
2015-07-19 19:11:28 +01:00
jzmaddock
8edcd89f39 Split some tests up. 2015-07-19 19:11:12 +01:00
jzmaddock
b94ddb0286 Add missing test case. 2015-07-19 19:11:11 +01:00
jzmaddock
90982e0191 Fix mixed mode comparison operators.
See https://svn.boost.org/trac/boost/ticket/11328.
And added tests for mixed mode comparisons and other operators.
2015-07-19 19:11:11 +01:00
jzmaddock
6abc91b3df Fix MSVC analyzer warnings. 2015-07-19 19:11:11 +01:00
jzmaddock
26a7d613f7 Update history
Conflicts:
	doc/multiprecision.qbk
2015-07-19 19:10:55 +01:00
jzmaddock
f89bac311b Fix right shifting of negative values in cpp_int.
To give the same values as 2's complement representations,
though not the same bit-pattern.
Updated tests.
Fixed assignment from float to not rely on shifting negative values.
2015-07-19 19:10:21 +01:00
jzmaddock
3b41c0af07 Stop using run in configure rules:
It breaks testing for some strange reason.
2015-07-19 19:10:21 +01:00
jzmaddock
6a2587159f Remove all uses of std::abs.
Sadly it's still not implemented for all integer types on
some platforms, see: https://svn.boost.org/trac/boost/ticket/11311
Plus "unsigned_abs" does what we actually want in most cases - ie
does the right thing when the value is std::numeric_limits<T>::min()
without invoking undefined behavior.
2015-07-19 19:09:16 +01:00
jzmaddock
0adcc3c055 Disable testing with external libraries when clang memory-santizer is in effect 2015-07-19 19:09:16 +01:00
jzmaddock
c71a3649ae Ooops, fix previous commit. 2015-07-19 19:09:16 +01:00
jzmaddock
524414edba Add workaround for GCC-5.1.0 numeric_limits.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65883
2015-07-19 19:09:16 +01:00
jzmaddock
689e66d28d Fix self assignment bug in mpfr_float
Fixes: https://svn.boost.org/trac/boost/ticket/11193
2015-07-19 19:08:25 +01:00
jzmaddock
9d136406c8 Fix digits10 calculation so it gets it correct in the 113-bit precision case. 2015-07-19 19:08:25 +01:00
jzmaddock
9aceb0bb9f Fix digit count for 128-bit quad-float types.
As per discussion here: http://www.exploringbinary.com/7-bits-are-not-enough-for-2-digit-accuracy/comment-page-1/#comment-9358
2015-07-19 19:08:25 +01:00
jzmaddock
f5f6a1fd17 Fix NaN comparisons.
Add tests to verify comparisons of NaN's are unordered.
Fix operators to check for unordered comparisons.
Fixes: https://svn.boost.org/trac/boost/ticket/11159
2015-07-19 19:08:24 +01:00
jzmaddock
4c816e1b2f Replace long long with boost::long_long_type to avoid GCC warnings/errors in pedantic mode.
Fix missing return statements on new long long code.
2015-07-19 19:03:47 +01:00
jzmaddock
942b79dad0 Fix conversions from long long to take long sized chunks.
Also fixed some bitmasks, and added feature-detection checks.
2015-07-19 19:03:46 +01:00
jzmaddock
468b4791f6 Fix build on systems with no <chrono>. 2015-07-19 19:03:46 +01:00
jzmaddock
93d9d00c85 Fix doc typo in history. boost-1.58.0 2015-03-20 18:45:29 +00:00
jzmaddock
913b336ead Previous fix for Intel-15 breaks clang, fix. 2015-03-19 13:32:48 +00:00
jzmaddock
4f6efdb36a Workaround for MSVC that seems not to find the default_ops overload in some situations. 2015-03-19 13:32:47 +00:00
jzmaddock
3bf93f94a9 Merge branch 'develop' 2015-03-04 19:12:17 +00:00
jzmaddock
10a68c89f7 Update to allow mixed number comparisons. 2015-03-03 19:06:04 +00:00
jzmaddock
1be19884f4 Change to use new gcd location. 2015-03-02 12:27:26 +00:00
jzmaddock
e7bbae7477 Fix multiple definitions that occur when using STLPort. 2015-03-02 12:27:05 +00:00
jzmaddock
cfbd812db6 Merge branch 'develop' 2015-02-24 13:23:49 +00:00
jzmaddock
9379a54b4c Disable some builds if there is no C++11 support. 2015-02-24 13:23:22 +00:00
jzmaddock
e0dcac2c72 Merge branch 'develop' 2015-02-24 09:16:51 +00:00
jzmaddock
10bc4eb774 Workaround for Solaris compiler. 2015-02-22 19:00:36 +00:00
jzmaddock
e175ed2bfe Cast std::string::size_type arguments to std::string functions so there can be no ambiguity in the calls, see https://svn.boost.org/trac/boost/ticket/11029 2015-02-22 17:58:34 +00:00
jzmaddock
6d0c3cf823 Update history, regen docs. 2015-02-22 13:15:19 +00:00
jzmaddock
f970a18141 Make frexp a non-expression template function so it functions even when the return value is ignored. Fixes issue: https://svn.boost.org/trac/boost/ticket/10993 2015-02-22 12:49:32 +00:00
jzmaddock
a70cad05fb Add workaround for Oracle type-conversion bug. 2015-02-21 19:09:54 +00:00
jzmaddock
3b35dd8e68 Fix for Intel constexpr issue. 2015-02-13 17:51:30 +00:00
jzmaddock
f066d288cd Partly back out previous patch - not all the workarounds were required after all. 2015-02-12 13:32:01 +00:00