cppalliance / decimal

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

Implement mixed arithmetic and comparisions for decimal128_fast #636

Closed mborland closed 3 months ago

mborland commented 3 months ago

Closes: #632

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 96.96970% with 5 lines in your changes missing coverage. Please review.

Project coverage is 99.1%. Comparing base (5136dca) to head (eb74718).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cppalliance/decimal/pull/636/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/636?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) ```diff @@ Coverage Diff @@ ## develop #636 +/- ## ========================================= + Coverage 99.1% 99.1% +0.1% ========================================= Files 218 218 Lines 15212 15534 +322 Branches 1668 1702 +34 ========================================= + Hits 15064 15384 +320 - Misses 148 150 +2 ``` | [Files](https://app.codecov.io/gh/cppalliance/decimal/pull/636?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) | Coverage Δ | | |---|---|---| | [test/random\_decimal128\_fast\_comp.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/636?src=pr&el=tree&filepath=test%2Frandom_decimal128_fast_comp.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-dGVzdC9yYW5kb21fZGVjaW1hbDEyOF9mYXN0X2NvbXAuY3Bw) | `100.0% <ø> (ø)` | | | [test/random\_decimal128\_fast\_math.cpp](https://app.codecov.io/gh/cppalliance/decimal/pull/636?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%> (ø)` | | | [include/boost/decimal/decimal128\_fast.hpp](https://app.codecov.io/gh/cppalliance/decimal/pull/636?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=) | `97.6% <96.3%> (+0.9%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/cppalliance/decimal/pull/636/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/636?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/636?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). Last update [5136dca...eb74718](https://app.codecov.io/gh/cppalliance/decimal/pull/636?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).