Skip to content

Fix missing header

0f49cb8
Select commit
Loading
Failed to load commit list.
Merged

Add overflowing functions (which return std::pair) #4

Fix missing header
0f49cb8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 3, 2026 in 0s

98.0% (target 90.0%)

View this Pull Request on Codecov

98.0% (target 90.0%)

Details

Codecov Report

❌ Patch coverage is 97.42857% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.0%. Comparing base (2202bfc) to head (0f49cb8).

Files with missing lines Patch % Lines
...ost/safe_numbers/detail/unsigned_integer_basis.hpp 92.8% 0 Missing and 9 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop      #4     +/-   ##
=========================================
+ Coverage     97.7%   98.0%   +0.4%     
=========================================
  Files           32      38      +6     
  Lines          851    1122    +271     
  Branches       217     280     +63     
=========================================
+ Hits           831    1099    +268     
  Misses          13      13             
- Partials         7      10      +3     
Files with missing lines Coverage Δ
test/test_unsigned_overflowing_addition.cpp 100.0% <100.0%> (ø)
test/test_unsigned_overflowing_division.cpp 100.0% <100.0%> (ø)
test/test_unsigned_overflowing_mod.cpp 100.0% <100.0%> (ø)
test/test_unsigned_overflowing_multiplication.cpp 100.0% <100.0%> (ø)
test/test_unsigned_overflowing_subtraction.cpp 100.0% <100.0%> (ø)
test/test_unsigned_saturating_addition.cpp 100.0% <100.0%> (ø)
test/test_unsigned_saturating_division.cpp 100.0% <100.0%> (ø)
test/test_unsigned_saturating_mod.cpp 100.0% <100.0%> (ø)
test/test_unsigned_saturating_multiplication.cpp 100.0% <100.0%> (ø)
test/test_unsigned_saturating_subtraction.cpp 100.0% <100.0%> (ø)
... and 1 more

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 2202bfc...0f49cb8. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.