Commit Graph

124 Commits

Author SHA1 Message Date
Matt Borland
2f25d8f719 Temporarily disable voroni_performance for Codecov 2023-12-23 07:49:38 -05:00
Matt Borland
6813d96cbb Remove uses of Boost.Array 2023-09-22 08:54:47 +02:00
Matt Borland
01f476d229 Replace 0 as null pointer constant with nullptr 2022-07-11 13:25:22 -07:00
Matt Borland
389b1b8d2d Fix overflow from implicit type conversion 2022-07-11 12:26:33 -07:00
jzmaddock
d78e4ba6ad Correct conversion operators so they work in non gnu mode.
Use typedefs for __int128 and __float128 throughout.
Remove lexical tommath conversions in favour of "proper" conversion operators.
2022-01-02 10:49:00 +00:00
Matt Borland
7779e9ea54 Add missing include to performance tests 2021-11-22 22:43:45 +02:00
jzmaddock
ae9cf23a11 Documentation update for the new rational_adaptor.
Includes updating all the performance results.
2021-09-30 19:45:16 +01:00
John Maddock
7a9d5f2491 Update performance result logs 2021-09-30 15:55:20 +01:00
jzmaddock
a9b14a317a Add determinant calculation benchmark. 2021-09-29 19:37:13 +01:00
jzmaddock
b80a573602 Correct and improve 2-arg pass through constructors.
Correct ET operators for pre-C++17.
Add test case for allocator usage.
2021-09-25 08:48:03 +01:00
jzmaddock
142fb95cb3 Add benchmark programs.
[CI SKIP]
2021-09-15 19:24:47 +01:00
jzmaddock
6d4cd18f02 Update for better interoperability of rationals and integers.
Fix generic_interconvert.hpp for unsigned types.
Update performance testing code to include testing with ::value_type.
Start testing unsigned and checked integer types with rational_adaptor.
Update arithmetic tests to test mixed arithmetic with ::value_type.
2021-09-15 13:16:49 +01:00
jzmaddock
8caae32acf Minor tweaks to Karatsuba sqrt.
Hooks up backend-based version for cpp_int.
Also adds simple google-benchmark.
From https://github.com/boostorg/multiprecision/pull/328.
2021-06-18 20:05:02 +01:00
jzmaddock
897bcb4165 Fix up conversions to and from enum's and add new tests.
Fixes: https://github.com/boostorg/multiprecision/issues/324.
2021-06-04 13:43:58 +01:00
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