Add signed and floating point literals #208
Merged
Codecov / codecov/project
succeeded
May 7, 2026 in 1s
97.3% (target 90.0%)
View this Pull Request on Codecov
97.3% (target 90.0%)
Details
Codecov Report
❌ Patch coverage is 90.47619% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.3%. Comparing base (495c76c) to head (de52a9b).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| include/boost/safe_numbers/literals.hpp | 64.8% | 10 Missing and 2 partials |
| test/test_float_literals.cpp | 93.6% | 0 Missing and 2 partials |
Additional details and impacted files
@@ Coverage Diff @@
## develop #208 +/- ##
=========================================
- Coverage 97.4% 97.3% -0.0%
=========================================
Files 190 192 +2
Lines 14382 14529 +147
Branches 5353 5425 +72
=========================================
+ Hits 13997 14130 +133
- Misses 316 326 +10
- Partials 69 73 +4 | Files with missing lines | Coverage Δ | |
|---|---|---|
| examples/literals.cpp | 100.0% <100.0%> (ø) |
|
| test/test_signed_literals.cpp | 100.0% <100.0%> (ø) |
|
| test/test_unsigned_literals.cpp | 100.0% <100.0%> (ø) |
|
| test/test_float_literals.cpp | 93.6% <93.6%> (ø) |
|
| include/boost/safe_numbers/literals.hpp | 70.7% <64.8%> (-8.4%) |
⬇️ |
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 495c76c...de52a9b. Read the comment docs.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading