John Maddock
6972343fca
Merge branch 'develop' into constexpr2
2019-08-26 12:53:53 +01:00
jzmaddock
0a245647e2
constexpr: Tweak C++14 detection to eliminate early clang versions.
...
Update appveyor.yml.
Add docs and examples.
2019-08-26 12:53:15 +01:00
jzmaddock
7b0b6c3820
Fix non-constexpr function
2019-08-19 11:47:12 +01:00
jzmaddock
7d62a03128
constexpr: Add C++14 constexpr support to the front end.
...
Begin testing with arithmetic_backend.
2019-08-17 20:06:45 +01:00
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
E Kawashima
66d1f953dd
Implement cpp_bin_float_oct and cpp_complex_oct
2018-07-30 18:05:43 +09:00
jzmaddock
bbe819f803
Conversion of between unsigned ints should be truncating.
2018-05-16 21:26:08 +01:00
jzmaddock
cd3ee9e096
Merge branch 'develop' into complex
...
# Resolved Conflicts:
# test/test_arithmetic.hpp
2018-03-12 18:35:38 +00:00
jzmaddock
496ce3dbac
complex/mpc: add hashing support, fix up a few gcc compile failures.
...
Add hashing support to concept checks and fix up most of the failures bar one obscure one.
2018-03-11 19:10:37 +00:00
jzmaddock
bd13b140e0
arithmetic_backend: use integer::gcd.
2018-03-09 19:12:39 +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
472d5afc2a
Add convert_to performance test.
2016-11-15 12:10:19 +00:00
jzmaddock
75dc2ebb33
Switch floating point types to be zero initialized when default constructed.
...
This is now consistent between types, and matches what explicitly initialized built in types do.
See https://svn.boost.org/trac/boost/ticket/12500 .
2016-10-23 19:12:56 +01:00
jzmaddock
57333128e8
Allow code and tests to compile without exceptions.
...
See https://svn.boost.org/trac/boost/ticket/12070 .
2016-03-17 11:50:06 +00:00
jzmaddock
cb1a41835f
Use memmove for bitshifts when machine is little endian.
...
See https://svn.boost.org/trac/boost/ticket/9233 .
2016-02-24 12:06:05 +00:00
jzmaddock
6f963e2f47
Add more build options
2015-11-24 19:11:00 +00:00
jzmaddock
1be19884f4
Change to use new gcd location.
2015-03-02 12:27:26 +00:00
jzmaddock
e7bbae7477
Fix multiple definitions that occur when using STLPort.
2015-03-02 12:27:05 +00:00
Cosmin Boaca
a0d7c9b7a6
Fixes compile error on ubuntu 12.04 boost 1.55 g++ 4.8.1
2014-03-04 22:47:44 +02: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
4a8d87954f
Fix __float128 test case, update messages from LInpack benchmark.
...
[SVN r84219]
2013-05-10 12:19:14 +00:00
John Maddock
324d889d26
Fix up linpack tests for __float128
...
[SVN r83716]
2013-04-02 18:11:35 +00:00
John Maddock
2b901734b2
Big search and replace name change of adapter -> adaptor.
...
[SVN r82501]
2013-01-15 11:43:27 +00:00
John Maddock
f1830235bb
Fix inspection report issues.
...
Regenerate docs.
Fix performance test Jamfile.
[SVN r81740]
2012-12-06 13:37:51 +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
672cd76754
Refactor test_arithmetic.cpp into lots of small files for reduced dependencies.
...
Changed use of __forceinline to release builds only.
[SVN r81654]
2012-12-01 16:19:23 +00:00
John Maddock
8ae04c68a6
Merge multiprecision from sandbox.
...
[SVN r81417]
2012-11-18 18:56:59 +00:00
John Maddock
4071dd8d59
Fix missing number constructor.
...
Fix is_explicitly_convertible to take account of the generic conversions.
Change sf_performance to use multiple files so we can actually compile the thing!
Minor doc updates.
Suppress some more warnings.
[SVN r81324]
2012-11-13 17:12:19 +00:00
John Maddock
e3deed1fdf
Optimize cpp_int multiplication with precision extension.
...
Turn off some warnings.
[SVN r81200]
2012-11-05 12:36:25 +00:00
John Maddock
3080df73d9
Update MPFR docs with performance comparison.
...
[SVN r81146]
2012-11-02 13:07:39 +00:00
John Maddock
c587f1550b
Update and regenerate docs.
...
Fix error in expression template unpacking that occasionally caused variable over-writes.
Update Math lib tests to test at least one non-ET type.
[SVN r81121]
2012-10-31 17:06:33 +00:00
John Maddock
6dfcc7e526
Big search and replace change of name for the ExpressionTemplates template parameter to class number.
...
[SVN r80418]
2012-09-06 09:50:47 +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
8807532ee4
Added explicit conversion operators.
...
Moved some files into /detail/
[SVN r79926]
2012-08-08 16:12:33 +00:00
John Maddock
821afe64fb
Add uBlas interoperability tests.
...
Add file include tests.
[SVN r79894]
2012-08-07 08:10:07 +00:00
John Maddock
7a7a287def
Fix C++11 compiler issues
...
[SVN r79861]
2012-08-04 10:59:56 +00:00
John Maddock
bb2ac1a969
Mark up some functions as being forced inline.
...
[SVN r79859]
2012-08-03 18:24:53 +00:00
John Maddock
7111ca4216
Fix buglets in performance test code.
...
Explain delaunay code digit usage better.
[SVN r79857]
2012-08-03 12:18:10 +00:00
John Maddock
2fb7c1a044
Fix Linux x64 C++0x build issues.
...
[SVN r79854]
2012-08-02 17:14:17 +00:00
John Maddock
8a54889f35
Update comparison operators for better efficiency.
...
Rework delaunay performance test to use less disk space.
[SVN r79848]
2012-08-02 12:27:00 +00:00
John Maddock
c79fb41526
Rework comparison operators - note that existing backends are made less efficient by this at present.
...
[SVN r79823]
2012-07-31 18:14:14 +00:00
John Maddock
36847e4e0b
Add delaunay performance test case.
...
Rework rvalue reference support for better performance.
Rework default operators for better performance.
[SVN r79802]
2012-07-30 15:23:51 +00:00
John Maddock
64fe0089d3
Refactor concept checks for faster compilers.
...
Add constexpr construction test.
[SVN r79724]
2012-07-24 18:03:54 +00:00
John Maddock
281c667b71
Update frontend to allow direct construction of backend.
...
Improve construction times for cpp_int from integers.
Allow constexpr construction.
Allow fixed precision cpp_int's with small bit counts.
[SVN r79692]
2012-07-23 08:57:44 +00:00
John Maddock
08ee67ccc2
Fix some 64-bit compilation issues.
...
[SVN r79362]
2012-07-08 17:54:35 +00:00
John Maddock
ccf276db86
Add tentative noexcept support.
...
[SVN r79243]
2012-07-03 12:32:17 +00:00
John Maddock
2ea2ab8a2b
Add better rvalue reference support to the non-expression template operators.
...
Add numeric_limits member definitions.
[SVN r79187]
2012-06-30 16:48:17 +00:00
John Maddock
e299171d07
Add performance test comparing double to mp_number<float_backend<double>>.
...
Fix typo in docs and regenerate.
[SVN r78811]
2012-06-05 10:40:56 +00:00