Commit Graph

776 Commits

Author SHA1 Message Date
jzmaddock
d5edf41235 Disable some overloads for VC12 and earlier - for some reason the compiler can't cope with them :( 2016-08-11 10:26:11 +01:00
jzmaddock
7c34000953 Add missing qualifier to isnan call. 2016-08-07 19:12:03 +01:00
jzmaddock
2adf5c2cf8 Document some more of the C99 functions we support already. 2016-08-04 19:21:53 +01:00
jzmaddock
2fd81f6fa0 Update docs for modf support. 2016-08-04 18:21:37 +01:00
jzmaddock
f25aac8267 Merge branch 'modf' into develop 2016-08-04 17:54:43 +01:00
jzmaddock
a9c40598a1 Merge branch 'modf' into develop
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-08-04 13:15:27 +01:00
jzmaddock
b74bab9e02 Add direct modf support rather than relying just on Boost.Math. 2016-08-03 19:55:10 +01:00
jzmaddock
2f0782a112 Fix some Intel and C++03 test failures 2016-07-27 09:42:25 +01:00
John Maddock
0492ba22bb Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop 2016-07-26 16:57:34 +00:00
John Maddock
3d18f5002f Fix remaining Solaris test failures. 2016-07-26 16:57:28 +00:00
jzmaddock
7ebd9dfd9b Fix fencepost error in rational->float conversion.
Add some test cases for the issue.
Fixes https://svn.boost.org/trac/boost/ticket/12327.
2016-07-25 18:57:39 +01:00
jzmaddock
028a0f7e30 Fix some big-endian misconceptions.
Not all constructors are available when we're not little-endian.
2016-07-23 19:06:22 +01:00
jzmaddock
7bf131d7af Update ublas support for latest ublas develop. 2016-07-22 19:10:06 +01:00
jzmaddock
9f43e1c88e Correct conversion to signed integer.
Add tests for integer round-trip.
Fixes: https://svn.boost.org/trac/boost/ticket/12343.
2016-07-22 17:54:40 +01:00
jzmaddock
489843a549 Disable runtime checks in msvc tests as it breaks the STL. 2016-07-22 09:16:01 +01:00
jzmaddock
3ed352297a Add back operator void conversion operators for gcc-4.7 2016-07-14 19:30:50 +01:00
jzmaddock
0e82dcbe11 Switch to new Boost.Config macros for thread_local detection. 2016-07-04 18:42:40 +01:00
jzmaddock
059c6d940f Fix macro name in previous commit. 2016-06-29 18:08:10 +01:00
jzmaddock
a251d3c974 Fix clang thread_local detection. 2016-06-27 19:42:48 +01:00
jzmaddock
c7e29b02ff Test and allow MSVC compiled code to be used with /RTC1 /RTCc etc. 2016-06-16 13:07:10 +01:00
jzmaddock
8f5e26f921 Update history. 2016-06-10 18:28:26 +01:00
jzmaddock
0b7591dd3a Add workaround for MPIR issue in gmp.hpp.
MPIR signature of mpf_get_d_2exp differs from GMP.
2016-06-07 19:14:31 +01:00
jzmaddock
a2174c950e Add workaround for non-SFINAE-expression compilers.
Gets conversions from expression templates working in these cases.
2016-06-07 18:24:29 +01:00
jzmaddock
314e4bf9ed squash some compiler warnings in gmp.hpp 2016-06-07 18:23:16 +01:00
jzmaddock
9c7210e859 Fix result of sqrt(infinity) in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12227
2016-06-06 13:17:57 +01:00
jzmaddock
7fa93b8821 Fix conversion to signed-zero of cpp_bin_float.
See https://svn.boost.org/trac/boost/ticket/12213
2016-06-06 12:42:04 +01:00
jzmaddock
aaeb4d737e Fix subtraction of signed infinities in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12209
2016-06-05 20:00:09 +01:00
jzmaddock
acca72019e Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop 2016-06-05 18:31:22 +01:00
jzmaddock
96a7eacf81 Use more conservative selection of thread_local. 2016-06-05 18:31:08 +01:00
jzmaddock
34a0600394 Quash lots of warnings and fix PR issue
see: https://github.com/boostorg/multiprecision/pull/14
2016-06-05 18:30:41 +01:00
jzmaddock
818073a0f8 Fixes for clang warnings 2016-06-04 15:50:02 +01:00
jzmaddock
10e2be2c1e Fix expected error rates for mpf_float variable-precision, also squash one warning 2016-06-03 15:10:12 +01:00
jzmaddock
6e7b08a77e Update to allow mpf_float to be used with Boost.Math at variable precision. 2016-06-02 18:48:46 +01:00
jzmaddock
e6715486a1 Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop 2016-06-02 11:46:08 +01:00
jzmaddock
246172b58c Fix mpfr error rate 2016-06-02 11:45:33 +01:00
jzmaddock
2991b3ac31 Fix mpfr test failures in Math lib tests 2016-06-01 00:08:08 +01:00
jzmaddock
1a37ffea8d Merge origin 2016-05-31 19:26:40 +01:00
jzmaddock
0d0266c8b9 remove redundent check for < 0. 2016-05-31 19:24:33 +01:00
jzmaddock
816edd2ed6 Update tests for variable precision math. 2016-05-31 10:05:34 +01:00
jzmaddock
8e8f4fabeb Fix variable precision mpfr/mpfi to give correct results when the precision changes. 2016-05-31 10:04:52 +01:00
jzmaddock
45008b5c55 Correct/improve termination conditions for Newton iteration.
Without this atan in particular does not always fully converge.
2016-05-31 09:58:19 +01:00
jzmaddock
37e81ec146 Default ilogb implementation should handle special values.
More work is needed here...
2016-05-31 09:55:57 +01:00
jzmaddock
dddcf2b00b Don't use lanczos approximations for variable precision types.
When the precision is '0'.
2016-05-31 09:55:00 +01:00
jzmaddock
e8d14b9f2b Add more forwarding functions to logged_adaptor/debug_adaptor.
So they can be used with variable precision types.
2016-05-31 09:54:00 +01:00
jzmaddock
02d71e6757 Fix fencepost error in cpp_bin_float rounding.
Add tests to verify.
2016-05-31 09:52:57 +01:00
jzmaddock
cad4070cff Add missing #includes. 2016-05-24 08:19:03 +01:00
jzmaddock
5acec4238a Remove some dead code.
Fixes some gcc warnings, see https://svn.boost.org/trac/boost/ticket/12204.
2016-05-16 18:26:10 +01:00
jzmaddock
0397d8bcd8 Test rounding code better in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12199.
2016-05-16 12:43:03 +01:00
jzmaddock
6a16ac95c5 Fix add and subtract of cpp_bin_float when the exponents would overflow.
Fixes: https://svn.boost.org/trac/boost/ticket/12198.
2016-05-15 19:01:50 +01:00
jzmaddock
c2499c2d16 Fix buggy add and subtract of signed zeros in cpp_bin_float. 2016-05-14 20:11:20 +01:00