mborland
9f81e0d964
Tests and performance compairsons [WIP][CI SKIP]
2020-07-26 21:54:17 -05:00
mborland
2052081053
Implemented binary search in SetS [WIP][CI SKIP]
2020-07-26 20:03:07 -05:00
mborland
1245d27d54
Added pritchards segmented sieve [WIP][CI SKIP]
2020-07-26 11:09:51 -05:00
mborland
e51d727c32
Add pritchard's sub-linear algo [WIP][CI SKIP]
2020-07-25 17:41:04 -05:00
mborland
d687d5eb86
Small Cleanup and limit reduction for sieving methods.
2020-07-19 21:29:40 -05:00
mborland
f7b45fdf33
Cleanup style, and delete unused function. Enable par_unseq mask_sieve. Reduce limit to change sieving methods. [CI SKIP]
2020-07-19 17:27:10 -05:00
mborland
23fba36819
Removed extraneous operations [CI SKIP]
2020-07-19 14:45:20 -05:00
mborland
173ce0d09b
segmented_sieve now runs using std::async. [CI SKIP]
2020-07-18 17:15:29 -05:00
mborland
243a2997e1
Changed from [lower_bound, upper_bound] to [lower_bound, upper_bound). Edge test case removed. Fixed bad vector indexing. Raw pointers replaced with smart pointers.
2020-07-17 20:02:00 -05:00
mborland
35d2aa1ec7
All vectors now init {}. Change include guards. Replace raw pointer.
2020-07-17 14:22:35 -05:00
mborland
a1ac504ebb
Fixed documentation. Complete re-design of mask_sieve algo. Pre-generation of primes to reduce duplication and memory usage. Segmentation now fits L1 cache. [CI SKIP]
2020-07-16 18:02:24 -05:00
mborland
7d3a52037f
Fixed doc, and ensured that primes are sorted
2020-07-15 17:19:47 -05:00
mborland
6ca245be27
Changed include guards to be compatible with C++11 and 14.
2020-07-15 15:16:21 -05:00
mborland
a68910ed2f
Added massively parallel section to prime_sieve. Increased length of benchmark for int64_t.
2020-07-14 13:31:20 -05:00
mborland
2a7e03129f
Added execution policies. Increased performance for dynamically linked libraries. Fixed -Wextra errors. [CI SKIP]
2020-07-13 21:27:14 -05:00
mborland
dd8a61c864
Re-added support and tests for boost::multiprecision::cpp_int [CI SKIP]
2020-07-12 12:00:12 -05:00
mborland
3e4db8a609
Complete revamp of algorithm. Hide implementation behind detail namespace. [CI SKIP]
2020-07-11 19:41:52 -05:00
mborland
a684dbd3c5
Fix include guard naming
2020-07-10 15:55:33 -05:00
mborland
5375a1d692
Added additional tests, benchmarks, and overflow checks
2020-07-10 13:59:13 -05:00
mborland
d762398dd8
Cleanup
2020-07-09 22:56:29 -05:00
mborland
9512bb6c5e
Cleanup
2020-07-09 22:52:12 -05:00
mborland
3ee737beb0
Changed init of least_divisors
2020-07-09 22:13:01 -05:00
mborland
4015fbc8c3
Initial Commit
2020-07-08 22:35:28 -05:00
Nick
1e6b84b1e5
Fix reciprocal of min for mpfr/cpp_bin_float in continued fractions. ( #385 )
...
* Fix reciprocal of min for mpfr.
* Add comment clarifying why we scale by 16. [CI SKIP]
2020-06-30 21:01:36 -04:00
Nick
fbb62f01c5
Centered continued fractions ( #379 )
...
* Centered continued fraction [CI SKIP]
* Document centered cfrac. [CI SKIP]
* Unit tests for centered continued fraction [CI SKIP]
* Kick off build.
* Fix syntax error in docs [CI SKIP]
* Fix ADL.
2020-06-28 14:20:52 -04:00
Nick
b3edb7ec14
Fix some CI failures ( #378 )
...
* Hope this works.
* Fix compile regression.
* Fix B-spline compile test failure.
2020-06-26 14:51:37 -04:00
Nick
1ac89b2b02
Simple continued fraction ( #377 )
...
* Simple continued fraction [CI SKIP]
* Comments on error analysis [CI SKIP]
* Simple continued fraction [CI SKIP]
* Clarify comment and kick off build.
2020-06-26 14:50:04 -04:00
Nick
4e510da7fd
Performance reporting for constants ( #366 )
...
* Performance reporting for constants [CI SKIP]
* Remove itrunc overflow. [CI SKIP]
2020-06-06 09:11:52 -04:00
Nick
4facb20ff9
Gauss's constant G:=1/agm(1,sqrt(2)) ( #363 )
2020-06-05 20:25:04 -04:00
Nick
4e0e8eb005
Add Feigenbaum constant. ( #351 )
...
* Add Feigenbaum constant.
* Add isnan to real_concept. Convert test_constants.cpp to math_unit_test.cpp.
* Reduce ULP tolerance to 2, which is the minimum that passes on my machine.
* Improvements to Feigenbaum.
* Ok this is pretty complicated . . . [CI SKIP]
* Take jzmaddock's suggestion to remove additions to real_concept.
* Remove test the demonstrates throw.
* Use BOOST_STATIC_ASSERT_MSG to retain C++03 compatibility.
* More precise conversion from binary to decimal.
* Plastic constant.
* Fix typos.
* New tests [CI SKIP]
* bugfix in test [CI SKIP]
* Update docs for new constants [CI SKIP]
* Fix outdated instructions [CI SKIP]
* Do C++11 check for new constants.
* Update constants.qbk [CI SKIP]
* Hopefully green up build
* Constants still *work* in C++03, but now they must be tested in C++11 mode.
* Remove boost::math::isnan.
* Test file requires C++17.
2020-06-04 21:57:38 -04:00
EugeneZelenko
03a879970b
Fix Clang -Wextra-semi-stmt and Clang-tidy readability-simplify-boolean-expr warnings. ( #360 )
2020-05-31 12:43:06 -04:00
NAThompson
646005eaca
Take care of overflow. [CI SKIP]
2020-05-31 11:35:46 -04:00
Nick
1186f1a7ff
rsqrt ( #361 )
...
* rsqrt
* Link docs into math.qbk. [CI SKIP]
* Demo performance with a compiler that generates good instructions [CI SKIP]
2020-05-30 22:34:56 -04:00
Nick
9a45e6a358
AGM
2020-05-29 21:50:25 -04:00
Nick
37fe3f415a
Fix ulps plot for float128 and higher precision types.
2020-05-25 16:27:20 -04:00
Nick
9520fb1e4c
Merge branch 'develop' of https://github.com/boostorg/math into develop
2020-05-25 16:10:56 -04:00
Nick
15ff6fa3a2
Update ulps_plot to work with mpfr and float128.
2020-05-25 16:10:49 -04:00
Nick
3c3217d2cd
Remove some internal dependencies for Daubechies wavelets. ( #356 )
2020-05-20 14:07:19 -04:00
Edward Diener
6d678efbf7
Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost config for the Embarcadero non-clang-based compilers. ( #345 )
2020-05-06 11:46:51 -04:00
NAThompson
cd1fe84134
Change default number of points to 1000 [CI SKIP]
2020-04-29 10:24:22 -04:00
Nick
47e61a447c
ULP plots ( #341 )
...
ULPs plots
2020-04-25 09:03:49 -04:00
Nick
c59659f4ed
Reinch's modification to Clenshaw recurrence ( #339 )
...
* Reinch's modification to Clenshaw recurrence. [CI SKIP]
* Convert Chebyshev tests to math_unit_test.hpp
* Performance of translated Chebyshev Clenshaw recurrence. [CI SKIP]
* Prepare to use modified Clenshaw recurrence in Chebyshev transform.
* Remove unused headers from Chebyshev transform test [CI SKIP]
* Update Chebyshev transform tests to use math_unit_test.hpp
2020-04-25 09:01:05 -04:00
jzmaddock
904138c725
Merge pull request #340 from boostorg/issue321
...
Correct behaviour of ellint_2 when k = 1.
2020-04-23 15:02:23 +01:00
jzmaddock
d62ab936c9
cyl_bessel_i: Fix variable multiprecision case, plus decimal number case.
2020-04-23 08:47:04 +01:00
jzmaddock
0cc85253e2
Merge pull request #333 from boostorg/better_arg_promotion
...
Better argument promotion for float_next
2020-04-10 11:52:43 +01:00
jzmaddock
1ba3c0110e
Correct behaviour of ellint_2 when k = 1.
...
Fixes https://github.com/boostorg/math/issues/321 .
2020-04-08 09:20:38 +01:00
jzmaddock
fd842536c9
Revert commits requiring C++11 and backport float_distance to C++03 for now.
2020-04-07 17:17:29 +01:00
jzmaddock
bc6667127d
Tweak performance tuning macros.
2020-04-04 09:58:20 +01:00
jzmaddock
b48cdffd1e
Improve C++03 deprecation diagnostics
...
So we can see which macro is triggering the warning.
2020-04-02 14:59:16 +01:00
Nick
00707a8b02
float_distance: Should work now . . .
2020-03-29 10:45:24 -04:00