Commit Graph

34 Commits

Author SHA1 Message Date
pabristow
86a7142d96 Edits to satisfy the picky inspect.exe program, now passing local tests using MSVC 14.2, except for six cpp_int*serial*.txt testdata files missing licence. 2019-08-14 18:02:10 +01:00
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
a3ab28245e Add fix and tests for exp bug in: https://github.com/boostorg/multiprecision/issues/120 2019-03-02 13:23:36 +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
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
e691d23cd5 Fix for internal logic error in exp of large values.
See https://github.com/boostorg/multiprecision/issues/23.
2017-05-14 09:37:49 +01:00
John Maddock
10ed707a68 Initial merge of cpp_bin_float code from sandbox.
[SVN r86781]
2013-11-21 19:05:42 +00:00
John Maddock
727b4c4643 Fixes to get the float128 tests passing with Intel C++ 13.0.
[SVN r83874]
2013-04-13 16:53:01 +00:00
John Maddock
04b1c9e9f0 Initial commit of 128-bit float wrapper
[SVN r83713]
2013-04-02 17:26:48 +00:00
John Maddock
42458450be Add initial support for mpfi interval arithmetic
[SVN r82337]
2013-01-03 18:58:43 +00:00
John Maddock
bfd897f5d8 Fix some more GCC warnings and make compiles faster for slow compilers (Intel)
[SVN r81710]
2012-12-04 19:28:46 +00:00
John Maddock
fc1cda1f62 Largely cosmetic change - add two new template params to cpp_dec_float - one for the exponent type, and one for an optional allocator.
[SVN r80431]
2012-09-07 08:31:49 +00:00
John Maddock
1e00790703 Rename mp_number_archetype.
Update docs with explicit conversion info.
Regenerate docs.

[SVN r80261]
2012-08-27 12:30:53 +00:00
John Maddock
b892e3f5ab Big breaking change - make lossy construction explicit.
[SVN r80058]
2012-08-16 08:13:51 +00:00
John Maddock
e2ef393c23 Big search and replace rename, removing mp_ prefix.
[SVN r79932]
2012-08-08 18:14:50 +00:00
John Maddock
f09ead8e37 Some file renaming and fixes from Steven Watanabe's comments.
[SVN r79141]
2012-06-27 18:25:10 +00:00
Christopher Kormanyos
9ee0022c77 Re-factor cpp_dec_float class constants.
Extend cpp_dec_float low-digit range from 30 to 9.
Removed temporary storage from cpp_dec_float multiply routine.
Extended tests to 9, 18 and (sqrt test) to 1000 digits.

[SVN r78097]
2012-04-20 20:05:49 +00:00
John Maddock
d4a2c46ac6 Update examples, reorganise docs, temporarily remove HTML before rebuilding.
Enhance test cases, including enabling loopback testing on cpp_dec_float io.

[SVN r77948]
2012-04-13 15:38:28 +00:00
John Maddock
8d6dedf4b0 Complete renaming of cpp_float to cpp_dec_float.
Rebuild docs.

[SVN r77037]
2012-02-16 09:36:26 +00:00
John Maddock
380d627359 Big search and replace: change cpp_float to cpp_dec_float.
Also fix up some numeric_limits test failures.

[SVN r77032]
2012-02-15 13:09:45 +00:00
John Maddock
44d5a3e394 Change tests for faster compile times.
[SVN r76412]
2012-01-11 19:09:49 +00:00
John Maddock
ecead4525a Suppress MSVC warnings in tests.
Add support for std::ios_base::fmtflags in string formatting.
Fix the errors that result from above change!

[SVN r75586]
2011-11-21 09:52:32 +00:00
John Maddock
c8eda6845e Search and replace - rename mp_float cpp_float.
[SVN r75453]
2011-11-12 13:15:33 +00:00
John Maddock
6372f8b638 Get mp_float passing all the tests, fix some bugs in acos and atan implementations.
[SVN r75166]
2011-10-29 11:57:54 +00:00
John Maddock
c34e9f654f Big search and replace namespace and class renaming: get rid of last references to "big_number" and "real".
[SVN r75093]
2011-10-23 11:23:13 +00:00
John Maddock
636fdc2e5d Tidy up the tests with boilerplate relative error calculation.
Fix eval_ldexp for mpf_t.
Fix power and log calculations.
Add acos.
Get all the tests passing.

[SVN r75070]
2011-10-20 18:16:46 +00:00
John Maddock
5f15eaa679 Added pow, exp, log, sinh, cosh and tanh support.
[SVN r74781]
2011-10-07 18:14:34 +00:00
John Maddock
b8a60ca6ca Rename "big_number*" to "mp_number*".
[SVN r74671]
2011-10-03 17:15:55 +00:00
John Maddock
e0309c8492 More file renames to remove "big_" prefixes.
[SVN r74670]
2011-10-03 17:03:28 +00:00
John Maddock
01173bc59c Changed namespace to "multiprecision".
Added some numberic constant calculations.
Added exp function support and test case.

[SVN r74669]
2011-10-03 16:56:24 +00:00