|
Ran
|
Jobs
1
|
Files
114
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge rust-bitcoin/rust-bitcoin#3719: Change `SignedAmount` `MAX` and `MIN` to equal +/- `MAX_MONEY` <a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/4b926e1908f72af98d24cc64d7e1eef44d624e4e">4b926e190 Change`MAX and `MIN` to equal `MAX_MONEY` (Jamil Lambert, PhD) Pull request description: To prevent rounding errors converting to and from f64 change `SignedAmount` `MAX` and `MIN` to +/- `MAX_MONEY` which are within the limit in f64 that has issues. Add checks to `from_str_in`, `checked_add`, `checked_sub` and `checked_mul` that the result is within MIN and MAX. Modify tests to work with new `MIN` and `MAX`. Discussed in #3688 and #3691 ACKs for top commit: tcharding: ACK 4b926e1908f72af98d24cc64d7e1eef44d624e4e apoelstra: ACK 4b926e1908f72af98d24cc64d7e1eef44d624e4e; successfully ran local tests Tree-SHA512: 9053e761b2ac8ed897ea733ea008cba6069
18 of 18 new or added lines in 2 files covered. (100.0%)
1 existing line in 1 file now uncovered.20295 of 24474 relevant lines covered (82.92%)
17809.64 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 12298571581.1 | 0 |
82.92 |
GitHub Action Run |