jzmaddock
68ea8d6a40
Multiprecision: split up test_sf_import_c99.cpp some more to avoid over-large object files.
2017-12-30 18:11:31 +00:00
jzmaddock
b35f1c8f61
Multiprecision.Integer conversions: Enforce uniform error handling when converting out-of-range narrowing integer conversions.
...
See https://svn.boost.org/trac10/ticket/13109
2017-12-30 09:34:35 +00:00
jzmaddock
3099838a0d
Multiprecision.cpp_bin_float: Finally fix up vc12 regressions.
2017-12-28 11:13:17 +00:00
jzmaddock
37c813f764
Multiprecision.generic interconversions: decimal to rational conversions need to treat 0 as a special case.
...
Fixes: https://svn.boost.org/trac10/ticket/13148
2017-12-27 19:40:03 +00:00
jzmaddock
1d19b31132
Multiprecision: begin to fix VC12 failures from last series of commits.... still one to go.
2017-12-27 19:38:08 +00:00
jzmaddock
8d04a03850
Multiprecision: Fix msvc-14.1 C++17 warnings.
2017-12-26 19:22:21 +00:00
jzmaddock
a4b198e1b7
Multiprecision.cpp_bin_float: Fix errors in exponent usage when exponent type is a long long.
...
See https://svn.boost.org/trac10/ticket/13264 .
Fix previously unsupported situation: conversion of narrow cpp_bin_float to wider integer type.
See https://svn.boost.org/trac10/ticket/13301 .
Improve test coverage for cpp_bin_floats with large exponent types, and/or dynamic allocators.
Fix issue in numeric_limits::max() that caused a complement of a signed integer number to be taken when the allocator is dynamic.
Fix heuristic in exp() function that caused a crazy number of iterations to be taken when the exponent was very large.
2017-12-26 17:54:41 +00:00
jzmaddock
9e4b524d00
Add test cases for fixed bugs.
2017-12-26 17:03:03 +00:00
jzmaddock
4daa1baf6d
Multiprecision: disable explicit conversion operator if the target type is already constructible from *this.
...
Prevents ambiguity between the target types constructor and the conversion operator.
See https://github.com/boostorg/multiprecision/issues/30 .
2017-12-25 18:07:48 +00:00
jzmaddock
017f652ce3
Multiprecision: remove superfluous ;
...
Fixes https://github.com/boostorg/multiprecision/issues/34
2017-12-25 18:05:39 +00:00
jzmaddock
bbdda4b9b3
Appveyor: disable testing -std:c++latest with msvc for now:
...
Dependent libraries don't yet support this in master.
2017-06-25 11:41:40 +01:00
jzmaddock
c0f329ec01
Merge pull request #28 from boostorg/c20170611
...
Mingw fixes
2017-06-13 08:57:16 +01:00
jzmaddock
d2ed3f881a
Change expected value from logb(NaN) to largest/smallest value of the exponent type.
2017-06-12 09:11:13 +01:00
jzmaddock
dc826dea86
Fix some warnings and Mingw specific issues.
2017-06-11 19:55:24 +01:00
jzmaddock
0b77b830d6
Documentation update: add more warnings about use of auto with expression templates, and update history.
...
[ci skip]
2017-06-08 10:22:30 +01:00
jzmaddock
a98c0ed628
Fix parenthesis in use of max().
2017-06-08 08:49:26 +01:00
jzmaddock
e08fb96dce
CI: Make serialization tests link-static on mingw.
...
Serialization lib is too often broken on that platform.
2017-06-05 13:13:15 +01:00
jzmaddock
4c36616841
CI: Fix some remaining issues:
...
* Build with --hash as otherwise command line gets too long on Windows machines.
* Disable tests that generate object files too large for gcc on windows.
* Split cpp_dec_float tests up a bit to reduce object file size.
* Use boost::int46_t not ::int64_t in test case.
* Disable test_arithmetic_backend_concept.cpp with original mingw32 which has issues fixed in mingw64.
2017-06-04 19:36:59 +01:00
jzmaddock
d69c6a8cb0
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2017-06-04 09:26:55 +01:00
jzmaddock
814e737c37
CI: Fix appveyor bjam command line.
2017-06-04 09:26:41 +01:00
jzmaddock
6255ca16a9
Merge pull request #25 from boostorg/issue19
...
Store basic arithmetic types by value in expression templates.
2017-06-03 09:22:36 +01:00
jzmaddock
63488e1a0e
Docs: Remove template keyword from non-template context.
...
See https://github.com/boostorg/multiprecision/pull/26 .
[ci skip]
2017-06-02 19:50:06 +01:00
jzmaddock
c8dadd5cf6
Re jig expression_storage to try and work around gcc-6.2 internal compiler error.
2017-06-02 12:33:00 +01:00
jzmaddock
57b36b5a92
Store basic arithmetic types by value in expression templates.
...
So that we can't get a dangling-reference to a literal if someone stores an expression, see https://github.com/boostorg/multiprecision/issues/19 .
2017-06-01 19:53:15 +01:00
jzmaddock
6a1ab1bc34
CI: Fix paths in appveryor.yml.
...
Add missing import to Jamfile.
Disable test_cpp_int_lit for older msvc when under CI testing (known failure).
2017-06-01 08:59:28 +01:00
jzmaddock
b1adefb750
CI: Correct path to test
2017-05-31 21:06:39 +01:00
jzmaddock
10efe3d169
Add test case for https://github.com/boostorg/multiprecision/issues/21
...
Add appveyor test coverage.
2017-05-31 19:31:35 +01:00
jzmaddock
841e1d71bb
travis: move some test targets around trying to balance the load better.
...
Define CI_SUPPRESS_KNOWN_ISSUES when building and reduce the testing load when it's set.
2017-05-25 13:33:58 +01:00
jzmaddock
152ef49491
travis: still getting XCode timeouts, so split tests into smaller groups again.
2017-05-24 18:57:29 +01:00
jzmaddock
dd402577cc
Travis: enable more tests,
...
move some tests between aliases as some OSX tests still time out.
2017-05-23 18:08:26 +01:00
jzmaddock
66f19e829e
Fix warnings in sincos.ipp and test_round.cpp.
...
Move some targets out of the "conversions" alias to try to fix travis timeouts.
2017-05-23 13:38:06 +01:00
jzmaddock
79c52b868f
Enable more travis tests.
2017-05-23 08:21:52 +01:00
jzmaddock
2061889b77
Correct __float128 precision in cpp_bin_float.hpp
...
Enable some more travis tests.
2017-05-22 19:47:27 +01:00
jzmaddock
70ded01359
Fix tabs in travis file.
2017-05-22 19:03:54 +01:00
jzmaddock
dbdda6aabc
Update float128 support test to check Boost.Config.
...
Enable more tests for travis.
2017-05-22 19:00:24 +01:00
jzmaddock
76b45890fd
Fix travis b2 invocation command.
2017-05-22 08:21:26 +01:00
jzmaddock
63151ee01c
Greatly simplify travis tests in the hopes they won't time out now...
2017-05-21 19:22:41 +01:00
jzmaddock
302c6f5c35
Fix up __float128 interoperability.
2017-05-21 11:16:29 +01:00
jzmaddock
f9eaf94f2e
Previous __float128 commit was buggy - fix.
2017-05-19 19:47:53 +01:00
jzmaddock
d6204058f0
Remove duplicate specialization of number_category<__float128> unless we're really using __Quad.
2017-05-19 19:22:41 +01:00
jzmaddock
bc8744811c
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2017-05-19 18:22:46 +01:00
jzmaddock
e2566a4f7f
Tentative fix for construction from __float128 compiler failure in cpp_bin_float.
2017-05-19 18:22:33 +01:00
John Maddock
2a19b605c5
Disable concept checks on Travis: the tests take too long otherwise!
2017-05-17 18:34:10 +01:00
John Maddock
4b2ff0b97e
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2017-05-17 18:31:20 +01:00
John Maddock
fdb0ce2b37
Workaround for lack of numeric_limits specializations of __int128 when in strict ansi mode, rather than GNU mode.
2017-05-17 18:20:48 +01:00
jzmaddock
3ac91992c6
Add initial .travis.yml
2017-05-16 19:51:05 +01:00
jzmaddock
08b9a6980f
random example requires explicit conversion operators (inside Boost.Random).
2017-05-15 18:33:42 +01:00
jzmaddock
76ad144e00
Disable new pow/exp underflow tests for interval types.
...
The resulting intervals are too wide for the tests to pass.
2017-05-15 12:03:32 +01:00
jzmaddock
f7dc0c74c5
Update test_pow.cpp/test_exp.cpp to handle types with no infinity.
...
Also adjusted start point of tests for float128.
2017-05-14 19:26:12 +01:00
jzmaddock
54aebca85d
Fix overflow error in mpf_float::eval_convert_to.
2017-05-14 19:25:08 +01:00