Skip to content

Update tests for bounded float availability

5bdd554
Select commit
Loading
Failed to load commit list.
Merged

Add a bounded floating point type class #204

Update tests for bounded float availability
5bdd554
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 6, 2026 in 0s

97.4% (target 90.0%)

View this Pull Request on Codecov

97.4% (target 90.0%)

Details

Codecov Report

❌ Patch coverage is 99.20635% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.4%. Comparing base (4fb815c) to head (5bdd554).

Files with missing lines Patch % Lines
include/boost/safe_numbers/bounded_floats.hpp 95.4% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop    #204     +/-   ##
=========================================
+ Coverage     97.3%   97.4%   +0.1%     
=========================================
  Files          178     190     +12     
  Lines        14004   14382    +378     
  Branches      5229    5353    +124     
=========================================
+ Hits         13622   13997    +375     
- Misses         313     316      +3     
  Partials        69      69             
Files with missing lines Coverage Δ
include/boost/safe_numbers/detail/type_traits.hpp 100.0% <ø> (ø)
include/boost/safe_numbers/limits.hpp 100.0% <ø> (ø)
test/test_bounded_float_addition.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_construction.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_conversions.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_division.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_fmt_format.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_limits.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_modulo.cpp 100.0% <100.0%> (ø)
test/test_bounded_float_multiplication.cpp 100.0% <100.0%> (ø)
... and 4 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 4fb815c...5bdd554. Read the comment docs.

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