jzmaddock
877753246f
clang-format: apply new format to (almost) everything.
2019-07-15 18:25:17 +01:00
Tinko Bartels
8740e3863b
Replace broken links.
2019-04-23 08:51:47 +02:00
jzmaddock
bd8599bac6
Fix up more functions which don't correctly guard precision changes.
...
Fixes: https://github.com/boostorg/multiprecision/issues/91
2018-10-06 19:31:41 +01:00
jzmaddock
7f5594c15c
Merge pull request #82 from boostorg/APPoS
...
Apply "Assignment Preserves Precision of Source".
2018-09-16 19:21:36 +01:00
jzmaddock
9d3326cb6d
APPoS: Add assign with precision.
...
[CI SKIP]
2018-09-16 19:19:27 +01:00
jzmaddock
9f3ccdcb78
APPoS: Fix build error in determining the "precision" of string literals.
...
Update tests.
2018-09-15 10:58:56 +01:00
jzmaddock
8d281cc47f
Apply "Assignment Preserves Precision of Source".
...
APPoS for short, throughout the library including in mixed precision arithmetic which should now always promote to the highest precision of any of the arguments.
2018-09-06 20:37:56 +01:00
jzmaddock
27c80085b1
Merge branch 'develop' into issue66
2018-08-18 10:37:39 +01:00
jzmaddock
ba0bfe64e0
Guard use of std::move by BOOST_NO_CXX11_RVALUE_REFERENCES.
2018-08-18 09:38:04 +01:00
jzmaddock
aa56ab85a5
Document how to assign both value and precision in the variable precision types.
...
Add tests for the method suggested.
See https://github.com/boostorg/multiprecision/issues/72 .
2018-08-17 11:01:46 +01:00
jzmaddock
15330801e0
Add support for construction from a std::string_view.
...
See https://github.com/boostorg/multiprecision/issues/66 .
2018-08-16 20:11:10 +01:00
jzmaddock
bbcac7c78b
Fix more variable precision issues:
...
Make sure that temporaries use the same precision as the target.
Make sure that construction from mpfr_float's copies their precision.
2018-08-16 19:21:24 +01:00
jzmaddock
eed306e9c5
Correct change of precision in existing mpc_complex.
...
Correct expected test result on assignment to variable of differing precision.
See https://github.com/boostorg/multiprecision/issues/65 .
2018-08-15 19:32:14 +01:00
jzmaddock
d0bc8a0d4e
Tidy up more inconsistencies in precision setting.
...
See https://github.com/boostorg/multiprecision/issues/62 .
2018-08-15 18:24:36 +01:00
jzmaddock
2d8e5c1d25
Add overloads for construction at specified precision.
...
Also document and update docs.
See https://github.com/boostorg/multiprecision/issues/62 .
2018-08-15 13:40:47 +01:00
jzmaddock
bc34128da1
Disable rvalue tests when BOOST_NO_CXX11_RVALUE_REFERENCES is defined.
2018-08-09 10:54:28 +01:00
jzmaddock
4df64fc7f1
Fix test failures from previous commit and extend CI coverage to MPC and MPFI backends.
...
See https://github.com/boostorg/multiprecision/issues/60 .
2018-08-09 09:09:08 +01:00
jzmaddock
2de27f70e0
MPC/MPFR: Fix up handling of precisions when copying values.
...
See: https://github.com/boostorg/multiprecision/issues/60 .
2018-08-08 20:02:48 +01:00