Commit Graph

110 Commits

Author SHA1 Message Date
John Maddock
b1f5ada732 Fix issues with -fsanitize=address [CI SKIP] 2021-01-29 18:36:06 +00:00
jzmaddock
873079c962 Use noexcept rather than the macros. 2021-01-19 15:42:28 +00:00
jzmaddock
5ed1e9ba0e Big MSVC warning fix.
Also uses if constexpr when available.
2021-01-17 21:15:22 +00:00
jzmaddock
a9b4361c0a Completely remove MPL usage. 2021-01-16 11:22:28 +00:00
jzmaddock
771985f06b Finish off removing pretty much all of type_traits usage. 2021-01-14 19:25:54 +00:00
jzmaddock
8bb54d07fd Remove most boost.type_traits usage. 2021-01-14 17:05:14 +00:00
jzmaddock
cb514e9249 Giant C++11 refactor removing:
BOOST_STATIC_ASSERT
BOOST_STATIC_CONST
boost::enable_if/disable_if
Changed many traits class usages from boost:: to std::.
2021-01-13 14:33:48 +00:00
jzmaddock
05d2d09bfd Remove tons of C++03 workarounds. 2021-01-11 21:42:50 +00:00
jzmaddock
f7ae8e869a Correct inspect issues. 2021-01-11 13:21:26 +00:00
jzmaddock
9398bc6393 Update mixed precision docs.
[CI SKIP]
2021-01-10 19:05:04 +00:00
jzmaddock
9b468e5e24 GCD: Update copyright declarations. 2020-07-16 20:11:47 +01:00
NAThompson
5a3b0d8a43 Add Complexity() [CI SKIP] 2020-06-21 13:21:15 -04:00
NAThompson
86b00c2f48 Change units for timing. [CI SKIP] 2020-06-21 13:11:56 -04:00
jzmaddock
66edc840f9 GCD: Add benchmark. 2020-06-20 18:28:37 +01:00
jzmaddock
0af5d543b4 Don't make everything <link>static in performance/Jamfile.v2. 2020-03-02 14:58:11 +00:00
jzmaddock
22c4489fba Karatsuba: small compiler workarounds.
Also add include to voronoi_performance.cpp which seems to be missing from it's own includes.
2020-01-06 19:42:32 +00:00
jzmaddock
fb6400c326 Fix one gcc warning, correct Jamfile. 2020-01-05 13:12:38 +00:00
jzmaddock
9162a99672 Fix fixed precision buffer overrun, restrict tests to multiply only for now. 2019-12-24 08:51:36 +00:00
jzmaddock
43ab37af22 Update performance test. 2019-12-23 18:56:48 +00:00
jzmaddock
4e46a7a010 Improved Karatsuba using aliasing. 2019-12-23 18:40:16 +00:00
jzmaddock
9705b24bee performance: Jamfile still isn't quite right, try again. 2019-12-17 12:40:27 +00:00
jzmaddock
bdee9ae225 performance: fix Jamfile and CI script issues. 2019-12-15 17:02:55 +00:00
jzmaddock
c35074829c performance: update tests and CI scripts. 2019-12-14 18:02:14 +00:00
jzmaddock
9b9e018dd1 performance: update logfile results 2019-12-13 19:38:22 +00:00
jzmaddock
875c64fcf5 performance: update quickbook generation. 2019-12-13 18:10:15 +00:00
jzmaddock
e376b0eebe performance: add more linux results. 2019-12-12 16:55:07 +00:00
jzmaddock
89bc8417f3 performance: Add voronoi_performance to Jamfile, add some higher precision tests to performance_test. 2019-12-11 19:29:55 +00:00
jzmaddock
6d6f776b86 performance: Fix GCC compiles [CI SKIP] 2019-12-10 18:46:11 +00:00
jzmaddock
1c9bef59e1 performance: output quickbook tables from sf_performance.cpp
[CI SKIP]
2019-12-10 13:35:00 +00:00
jzmaddock
eadcbd4d4d performance: continue improving the tests and splitting up into smaller chunks.
[CI SKIP]
2019-12-09 19:25:38 +00:00
jzmaddock
ee02c4ef86 performance: split up miller_rabin_performance, move some files around.
[CI SKIP]
2019-12-09 12:03:47 +00:00
jzmaddock
34bca747c4 performance tests: operator *= test needs to not grow the operand size.
[CI SKIP]
2019-12-09 10:39:12 +00:00
jzmaddock
833d5c1401 Update performance_test program for easier compile.
[CI SKIP]
2019-12-08 16:21:04 +00:00
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