Commit Graph

31 Commits

Author SHA1 Message Date
Hans Dembinski
f56337177d
Fix sample argument bug
fixes: a weight could pass as sample and vice versa
2019-10-31 01:45:02 +01:00
Hans Dembinski
7a55bf0e29 move throw_exception implementation to test and benchmark folders 2019-05-28 23:15:17 +02:00
Hans Dembinski
8602102014
support -fno-exceptions and -fno-rrti and test this 2019-05-12 22:08:10 +02:00
Hans Dembinski
329fcf6855
Fix missing coverage and allocator-fail logic
* fixed allocator-failing code with better mock allocator; 100 % code coverage on all platforms
* fixed and refined use of safe comparison of number types
2019-04-23 23:25:05 +02:00
Hans Dembinski
6b386c9b51
increase coverage
* provide unsafe access to buffer
* factored mp_int out into separate header and renamed to large_int
* refined adding behavior
* more warnings and comeback of coverage variant
* better coverage reporting
2019-04-22 03:33:05 +02:00
Hans Dembinski
1bf9dd9dfd
thread-safe storage
- new thread-safe accumulators for arithmetic types
- storages have a new flag `has_threading_support` to indicate support for parallel cell access
- histogram automatically synchronises growing axes and storage if necessary
2019-04-14 22:24:34 +02:00
Hans Dembinski
baca1ca8ae Improved ubsan (#173)
Include leak test, exclude boost.serialization UB with blacklist.supp, avoid divide-by-zero in test
2019-03-18 15:50:59 +01:00
Hans Dembinski
266e1a69f2
Feature/operators (#162)
* better operators for mp_int, unlimited_storage::reference, map_impl::reference, copying code from boost.operators 
* treat warnings as errors on travis
* make appveyor build feature branches
2019-02-20 09:15:14 +01:00
Hans Dembinski
2568a68f76
msvc fixes, simplification and bug-fixes of mp_int, more test coverage (#159)
* fixes broken msvc build
* smaller xml files for testing serialization
* fixing many warnings on msvc
* bug-fixes to mp_int regarding operators and new tests to check their behavior 
* don't expect iterable histogram::at to have size method
* build benchmarks in release mode
* test everything by default when b2 is run on project directory
* more test coverage
2019-02-18 10:04:27 +01:00
Hans Dembinski
c3966a52c2
doc and coverage updates 2019-02-11 20:28:41 +01:00
Hans Dembinski
4a2e3db0e0
upload edits on docs and minor code fixes (#152)
* renaming naked to remove_cvref_t
* more static_asserts to check implicit conditions
* use new BOOST_TEST_TRAIT_SAME
* reorganize and add operator tests, fixes for array and map adaptors
* improved map adaptor
* storage does not have to support scaling operator anymore
* doc improvements
2019-02-10 22:45:00 +01:00
Hans Dembinski
f20abe19fb rename adaptive_storage to unlimited_storage, closes #150 2019-02-06 23:34:58 +01:00
Hans Dembinski
5657d31c38 make histogram and all builtin storages subtractable 2019-02-03 17:14:29 +01:00
Hans Dembinski
fd0b7dea8d better reference docu 2019-01-22 22:14:38 +01:00
Hans Dembinski
e80ae946e6 full iterator support 2019-01-11 00:06:26 +01:00
Hans Dembinski
37ac219921 added profile example and improved interface of mean and weighted_mean 2019-01-11 00:06:26 +01:00
Hans Dembinski
00cd2e866e changed axis::option_type to compile-time option, replaced fancy histogram iterator with indexed range adaptor, cleanup of various headers 2019-01-11 00:06:26 +01:00
Hans Dembinski
bac1490525 fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
3661b238b6 clean up of accumuators, use consistent naming, make sure that sum accumulator can be used as RealType in weighted_sum 2019-01-11 00:06:26 +01:00
Hans Dembinski
692f8082c8 fix win 2019-01-11 00:06:26 +01:00
Hans Dembinski
8ec2daed87 rewrote accumulators to use more numerically stable algorithms, do not propagate weight_type down to the accumuator anymore, added neumaier summation, simplified interface of weight accumulator 2019-01-11 00:06:26 +01:00
Hans Dembinski
04ca7a3fee wip for adding profile support 2019-01-11 00:06:25 +01:00
Hans Dembinski
15e6a44466 better warning fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
faede986fd fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
d3d4f17ddb silence some warnings 2019-01-11 00:06:25 +01:00
Hans Dembinski
8c4c502c00 nicer comments 2019-01-11 00:06:25 +01:00
Hans Dembinski
07b95ae579 win fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
fb80067aa5 added support for boost::accumulators, reintroduced add method to storage interface 2019-01-11 00:06:25 +01:00
Hans Dembinski
d326514ac8 all tests pass for adapted vector and array, map still failing 2019-01-11 00:06:25 +01:00
Hans Dembinski
61be24b94d working version 2019-01-11 00:06:25 +01:00
Hans Dembinski
a17a6c677c wip, histogram_test fails 2019-01-11 00:06:25 +01:00