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

Improve fast type coverage #669

Closed mborland closed 1 week ago

mborland commented 2 weeks ago

Fixes some bugs along the way as expected Closes: #668

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 99.72067% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.9%. Comparing base (b8761cc) to head (dd77132). Report is 2 commits behind head on develop.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cppalliance/decimal/pull/669/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/669?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) ```diff @@ Coverage Diff @@ ## develop #669 +/- ## ========================================= + Coverage 98.5% 98.9% +0.5% ========================================= Files 223 225 +2 Lines 16186 16499 +313 Branches 1789 1800 +11 ========================================= + Hits 15940 16315 +375 + Misses 246 184 -62 ``` | [Files](https://app.codecov.io/gh/cppalliance/decimal/pull/669?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/charconv.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fcharconv.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2NoYXJjb252LmhwcA==) | `95.2% <100.0%> (+0.9%)` | :arrow_up: | | [include/boost/decimal/detail/to\_float.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdetail%2Fto_float.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RldGFpbC90b19mbG9hdC5ocHA=) | `100.0% <ø> (+10.6%)` | :arrow_up: | | [test/random\_decimal128\_fast\_math.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=test%2Frandom_decimal128_fast_math.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC9yYW5kb21fZGVjaW1hbDEyOF9mYXN0X21hdGguY3Bw) | `100.0% <100.0%> (ø)` | | | [test/roundtrip\_decimal128\_fast.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=test%2Froundtrip_decimal128_fast.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC9yb3VuZHRyaXBfZGVjaW1hbDEyOF9mYXN0LmNwcA==) | `100.0% <100.0%> (ø)` | | | [test/test\_beta.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=test%2Ftest_beta.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC90ZXN0X2JldGEuY3Bw) | `100.0% <100.0%> (ø)` | | | [test/test\_parser.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=test%2Ftest_parser.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC90ZXN0X3BhcnNlci5jcHA=) | `100.0% <100.0%> (ø)` | | | [test/test\_sin\_cos.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=test%2Ftest_sin_cos.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC90ZXN0X3Npbl9jb3MuY3Bw) | `100.0% <100.0%> (ø)` | | | [test/test\_tgamma.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=test%2Ftest_tgamma.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC90ZXN0X3RnYW1tYS5jcHA=) | `100.0% <100.0%> (ø)` | | | [include/boost/decimal/detail/parser.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/669?src=pr&el=tree&filepath=include%2Fboost%2Fdecimal%2Fdetail%2Fparser.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9kZWNpbWFsL2RldGFpbC9wYXJzZXIuaHBw) | `88.3% <66.7%> (+6.1%)` | :arrow_up: | ... and [8 files with indirect coverage changes](https://app.codecov.io/gh/cppalliance/decimal/pull/669/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/669?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/669?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). Last update [b8761cc...dd77132](https://app.codecov.io/gh/cppalliance/decimal/pull/669?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).