Skip to content

Add signed and floating point literals#208

Merged
mborland merged 13 commits intodevelopfrom
206
May 7, 2026
Merged

Add signed and floating point literals#208
mborland merged 13 commits intodevelopfrom
206

Conversation

@mborland
Copy link
Copy Markdown
Member

@mborland mborland commented May 6, 2026

Closes: #206
Closes: #207

@mborland mborland added this to the v0.1.0 milestone May 6, 2026
@mborland mborland self-assigned this May 6, 2026
@mborland mborland added the enhancement New feature or request label May 6, 2026
@cppalliance-bot
Copy link
Copy Markdown

cppalliance-bot commented May 6, 2026

An automated preview of the documentation is available at https://208.safe-numbers.prtest3.cppalliance.org/libs/safe_numbers/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-05-07 02:25:09 UTC

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

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

Impacted file tree graph

@@            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.

@mborland mborland merged commit e3fe70d into develop May 7, 2026
47 checks passed
@mborland mborland deleted the 206 branch May 7, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add signed integer literals Add floating point literals

2 participants