cppalliance / decimal

A C++14 implementation of IEEE 754 decimal floating point numbers
https://cppalliance.org/decimal/decimal.html
Boost Software License 1.0
17 stars 1 forks source link

Refactor decimal128 and decimal128_fast #683

Closed mborland closed 1 week ago

mborland commented 1 week ago

Closes: #678 Closes: #679 Closes: #680 Closes: #681 Closes: #618

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.0%. Comparing base (8d6d270) to head (ba77d62).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cppalliance/decimal/pull/683/graphs/tree.svg?width=650&height=150&src=pr&token=drvY8nnV5S&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance)](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) ```diff @@ Coverage Diff @@ ## develop #683 +/- ## ========================================= - Coverage 99.0% 99.0% -0.0% ========================================= Files 225 230 +5 Lines 16424 16442 +18 Branches 1792 1792 ========================================= + Hits 16253 16265 +12 - Misses 171 177 +6 ``` | [Files](https://app.codecov.io/gh/cppalliance/decimal/pull/683?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) | Coverage Δ | | |---|---|---| | [include/boost/decimal/decimal128.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdecimal128.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RlY2ltYWwxMjguaHBw) | `98.0% <100.0%> (-<0.1%)` | :arrow_down: | | [include/boost/decimal/decimal128\_fast.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdecimal128_fast.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RlY2ltYWwxMjhfZmFzdC5ocHA=) | `96.6% <100.0%> (-<0.1%)` | :arrow_down: | | [include/boost/decimal/decimal32.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdecimal32.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RlY2ltYWwzMi5ocHA=) | `99.8% <100.0%> (ø)` | | | [include/boost/decimal/decimal32\_fast.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdecimal32_fast.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RlY2ltYWwzMl9mYXN0LmhwcA==) | `97.3% <100.0%> (ø)` | | | [include/boost/decimal/decimal64.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdecimal64.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RlY2ltYWw2NC5ocHA=) | `99.3% <100.0%> (ø)` | | | [include/boost/decimal/decimal64\_fast.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdecimal64_fast.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RlY2ltYWw2NF9mYXN0LmhwcA==) | `98.7% <100.0%> (-<0.1%)` | :arrow_down: | | [include/boost/decimal/detail/div\_impl.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdetail%2Fdiv_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RldGFpbC9kaXZfaW1wbC5ocHA=) | `100.0% <ø> (ø)` | | | [include/boost/decimal/detail/emulated128.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdetail%2Femulated128.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RldGFpbC9lbXVsYXRlZDEyOC5ocHA=) | `97.4% <100.0%> (-0.2%)` | :arrow_down: | | [include/boost/decimal/detail/mul\_impl.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdetail%2Fmul_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RldGFpbC9tdWxfaW1wbC5ocHA=) | `92.9% <100.0%> (-0.4%)` | :arrow_down: | | [include/boost/decimal/detail/sub\_impl.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/683?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdetail%2Fsub_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RldGFpbC9zdWJfaW1wbC5ocHA=) | `97.4% <100.0%> (+1.1%)` | :arrow_up: | ... and [12 files with indirect coverage changes](https://app.codecov.io/gh/cppalliance/decimal/pull/683/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/cppalliance/decimal/pull/683?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/cppalliance/decimal/pull/683?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). Last update [8d6d270...ba77d62](https://app.codecov.io/gh/cppalliance/decimal/pull/683?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance).