Ensure checked integers are in a sane state after a throw. by jzmaddock · Pull Request #627 · boostorg/multiprecision

@jzmaddock

Copy link Copy Markdown

Collaborator

Document that the value of the target operand is unspecified after a throw. Improve testing.
Fixes #626

Document that the value of the target operand is unspecified after a throw.
Improve testing.
Fixes #626

@codecov

Copy link Copy Markdown

codecov bot commented

Jun 23, 2024

edited

Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.1%. Comparing base (58b3962) to head (5926513).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop    #627     +/-   ##
=========================================
+ Coverage     94.1%   94.1%   +0.1%     
=========================================
  Files          275     276      +1     
  Lines        26794   26846     +52     
=========================================
+ Hits         25188   25240     +52     
  Misses        1606    1606             
Files Coverage Δ
include/boost/multiprecision/cpp_int.hpp 95.5% <100.0%> (+0.1%) ⬆️
test/git_issue_624.cpp 100.0% <100.0%> (ø)
test/git_issue_626.cpp 100.0% <100.0%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58b3962...5926513. Read the comment docs.

@jzmaddock

Correct min/max usage.

5926513

@jzmaddock jzmaddock merged commit c0ff9cf into develop

Jun 24, 2024

@NAThompson NAThompson deleted the issue626 branch

June 24, 2024 14:49