jzmaddock
5af4564698
Restrict noexcept on converting constructors.
...
See https://svn.boost.org/trac/boost/ticket/11826 .
2015-12-01 15:58:26 +00:00
jzmaddock
6f963e2f47
Add more build options
2015-11-24 19:11:00 +00:00
jzmaddock
360fcc9306
Add missing return statement.
...
See https://svn.boost.org/trac/boost/ticket/11762
2015-10-29 12:39:53 +00:00
jzmaddock
1261cc6b8a
Don't use long double asin if it's not available.
2015-10-29 11:29:26 +00:00
jzmaddock
7dfea115f8
Fix cpp_bin_float conversions,
...
fix inverse trig logic to get as many digits as possible from std::asin.
Add test case.
Fixes: https://svn.boost.org/trac/boost/ticket/11764
2015-10-29 09:58:28 +00:00
jzmaddock
e28b1be017
Fix order-of-evalution bug in bitmask code.
...
Allow mpfr_float to be used with Boost.Math by adding needed specializations.
2015-10-22 10:11:16 +01:00
jzmaddock
dde9570d11
Merge branch 'master' into develop
2015-10-18 12:06:03 +01:00
jzmaddock
390d46de9e
Merge branch 'develop'
...
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
doc/multiprecision.qbk
include/boost/multiprecision/cpp_bin_float.hpp
include/boost/multiprecision/cpp_int.hpp
test/test_cpp_int.cpp
Resolved so as to make master and develop the same.
2015-10-18 12:05:14 +01:00
jzmaddock
3d454688f1
Fix for cpp_int_backend sometimes having a private ::value_type due to inheritance.
2015-10-15 11:35:22 +01:00
jzmaddock
dcd0ca9811
Fix copyright declaration.
2015-10-06 18:55:01 +01:00
jzmaddock
a1eafc4228
Fix division bug discovered by https://svn.boost.org/trac/boost/ticket/11648
2015-09-22 13:39:26 +01:00
jzmaddock
a752269c1f
Fix arithmetic failure when a string has no digits.
2015-09-20 13:12:04 +01:00
jzmaddock
100afbcce8
Suppress some msvc warnings.
2015-09-20 12:00:09 +01:00
jzmaddock
d78767ef95
Add cpp_int import/export code.
...
See: https://svn.boost.org/trac/boost/ticket/11590 .
2015-09-20 08:45:03 +01:00
jzmaddock
e0f74704a0
Improve string assign to cpp_int:
...
* Make exception safe (strong guarantee).
* Improve performance for hexadecimal and octal assignment.
See: https://svn.boost.org/trac/boost/ticket/11590
2015-09-15 18:16:20 +01:00
jzmaddock
fdbeedc609
Fix behaviour of fmod for negative divisor.
...
And add more tests, see https://svn.boost.org/trac/boost/ticket/11641 .
2015-09-11 17:13:34 +01:00
jzmaddock
8a84894715
Merge pull request #12 from mclow/develop
...
Remove use of deprecated macros; use replacements
2015-09-11 08:59:57 +01:00
Marshall Clow
5621a90e45
Remove use of deprecated macros; use replacements
2015-09-10 15:43:35 -07:00
jzmaddock
839385dd1a
Fix workaround code.
2015-08-23 18:38:26 +01:00
jzmaddock
8ba486eb3a
Make math::tools::digits noexcept when math version is.
2015-08-23 17:49:30 +01:00
jzmaddock
92a56b5dec
Add __float128 support to bits_of, correct mpl iterator dereferencing.
2015-08-23 17:48:51 +01:00
jzmaddock
ea7d247018
Qualify call to is_floating_point.
2015-08-23 17:47:28 +01:00
jzmaddock
9e3115f376
Add special case for n == 2.
2015-08-10 12:49:43 +01:00
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.
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