jzmaddock
ebfc08a07a
Start adding interconversion test cases.
2016-09-28 19:56:39 +01:00
jzmaddock
94e3348f79
Add first comprehensive interconversion test case.
2016-09-28 19:39:44 +01:00
jzmaddock
cd20cf7db4
Merge branch 'develop' into c99
...
# Resolved 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/index.html
# include/boost/multiprecision/detail/default_ops.hpp
2016-09-23 09:01:56 +01:00
jzmaddock
105b324d9d
Document eval_pow2,
...
Optimise default eval_pow2 for integer args.
2016-09-22 11:05:38 +01:00
jzmaddock
19e41b0155
Add exp2 support.
2016-09-22 10:53:06 +01:00
jzmaddock
9f5b8ab4ad
Fix for libstdc++ bug
2016-09-19 19:10:02 +01:00
jzmaddock
87ae4edc75
C99: trivial test for comparison functions.
2016-09-18 18:36:18 +01:00
jzmaddock
d624d3fd94
C99: add scalbln, rinmt and tgamma.
2016-09-18 18:29:00 +01:00
jzmaddock
22928e00ad
Suppress needless warning (unused parameter).
2016-09-18 17:35:14 +01:00
jzmaddock
d25834c52f
C99: Add support for remainder and remquo.
2016-09-18 17:34:48 +01:00
jzmaddock
b2108867c7
Fix for cpp_int conversions.
2016-09-15 19:08:38 +01:00
jzmaddock
e1f3e4989f
C99: Add nextafter and nexttoward
2016-09-09 19:39:04 +01:00
jzmaddock
67e0dc15ee
C99: Add log1p and log2 support.
2016-09-08 18:42:20 +01:00
jzmaddock
5b7f9f1a03
C99: Add support for lgamma, lrint and llrint.
2016-09-07 18:18:31 +01:00
jzmaddock
de84bd4902
C99: Add support for number comparison functions plus hypot.
2016-09-07 11:51:55 +01:00
jzmaddock
00fc161f3c
C99: Fix regression failures in new code.
...
Test for negative interactions with std:: functions.
2016-09-04 10:21:28 +01:00
jzmaddock
e1b66e8e7e
C99: Initial fma support.
2016-09-02 16:48:37 +01:00
jzmaddock
6e3f814cec
Fix bug in self assignment of complex expression templates.
...
Fixes https://svn.boost.org/trac/boost/ticket/12408 .
2016-08-27 18:27:54 +01:00
jzmaddock
339818c018
Fix compiler errors when converting from cpp_int's to cpp_bin_float's
...
As reported on the mailing list.
Also adds new test case.
2016-08-17 18:12:41 +01:00
jzmaddock
11d6776b3d
Change negate to negate_value to avoid gcc-4.4 error.
2016-08-14 18:46:42 +01:00
jzmaddock
963c150746
Add fdim support.
2016-08-10 19:03:00 +01:00
jzmaddock
7c34000953
Add missing qualifier to isnan call.
2016-08-07 19:12:03 +01:00
jzmaddock
e266a5ad51
Fix up float128 preliminary C99 support
2016-08-07 14:08:28 +01:00
jzmaddock
e6fab45edf
Add missing test file.
2016-08-06 19:12:51 +01:00
jzmaddock
38117c2ad1
Begin adding C99 floating-point support.
2016-08-06 19:09:22 +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
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
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
c7e29b02ff
Test and allow MSVC compiled code to be used with /RTC1 /RTCc etc.
2016-06-16 13:07:10 +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
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
816edd2ed6
Update tests for variable precision math.
2016-05-31 10:05:34 +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
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
jzmaddock
6e7e2e8010
Fix cpp_bin_float conversions of infinities and NaN's.
...
Fixes: https://svn.boost.org/trac/boost/ticket/12196 .
2016-05-14 19:15:14 +01:00