pabristow
893a4d77d7
changed cpp_dec to cpp_bin
2015-07-25 09:36:34 +01:00
pabristow
75dc0e3c9c
Rewrite of max_digits10 section.
2015-07-24 17:59:40 +01:00
jzmaddock
4558e574d1
Bring docs into line with code, regenerate HTML.
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
7e457161e6
Fix digits10 to use +3 not +2 which doesn't always add enough.
2015-07-19 17:47:38 +01:00
jzmaddock
9f446081f9
Update history.
2015-06-18 10:50:27 +01:00
jzmaddock
9abf33884b
Don't use conditional noexcept with gcc-4.6.x as it causes issues.
...
See https://svn.boost.org/trac/boost/ticket/11402
2015-06-18 09:08:52 +01:00
jzmaddock
a04bfdb654
Fix definitions of numeric_limits out-of-line members.
2015-06-16 18:40:59 +01:00
jzmaddock
a955881d30
Merge branch 'master' of https://github.com/ahamez/multiprecision into develop
2015-06-09 19:13:23 +01:00
Alexandre Hamez
188f0a7abb
Fix exception message
2015-06-09 13:54:59 +02:00
jzmaddock
42c6ad2c8f
Fix test failures for special functions.
2015-06-04 13:17:29 +01:00
jzmaddock
1e1f5455fc
Split test up again - still too big!
2015-06-04 09:06:14 +01:00
jzmaddock
3d6d5d943a
Simplify code so msvc-12 can cope.
...
Errors only show up in certain complex cases, most notably in Boost.Random's test suite.
2015-06-03 18:52:33 +01:00
jzmaddock
4ed6c3e44b
Remove unused typedef.
2015-06-03 18:51:41 +01:00
jzmaddock
2f9faea67d
Fix signed/unsigned comparison.
2015-06-03 18:51:14 +01:00
jzmaddock
7f0e3b78c3
Remove unneeded typedef.
2015-06-02 18:27:13 +01:00
jzmaddock
f681020a16
Add missing #include.
2015-06-02 18:25:32 +01:00
jzmaddock
e5b678a673
Fix issue with ambiguous conversions.
2015-06-02 18:07:11 +01:00
jzmaddock
175db1375f
Fix typecast.
2015-06-02 13:41:44 +01:00