Skip to content

Add policy based shifting#42

Merged
mborland merged 5 commits intodevelopfrom
27
Feb 12, 2026
Merged

Add policy based shifting#42
mborland merged 5 commits intodevelopfrom
27

Conversation

@mborland
Copy link
Member

Closes: #22
Closes: #26
Closes: #27

@mborland mborland added the enhancement New feature or request label Feb 12, 2026
@mborland mborland changed the title 27 Add policy based shifting Feb 12, 2026
@mborland mborland added this to the v0.1.0 milestone Feb 12, 2026
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

❌ Patch coverage is 94.42724% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.8%. Comparing base (434a46f) to head (4e8a58a).
⚠️ Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
examples/bitwise_ops.cpp 65.2% 0 Missing and 15 partials ⚠️
...ost/safe_numbers/detail/unsigned_integer_basis.hpp 96.5% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop     #42     +/-   ##
=========================================
- Coverage     97.0%   96.8%   -0.1%     
=========================================
  Files           85      85             
  Lines         4871    5183    +312     
  Branches      1547    1642     +95     
=========================================
+ Hits          4721    5015    +294     
- Misses         121     124      +3     
- Partials        29      44     +15     
Files with missing lines Coverage Δ
test/test_unsigned_bitwise_ops.cpp 100.0% <100.0%> (ø)
...ost/safe_numbers/detail/unsigned_integer_basis.hpp 95.3% <96.5%> (+0.2%) ⬆️
examples/bitwise_ops.cpp 77.4% <65.2%> (-12.8%) ⬇️

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 434a46f...4e8a58a. Read the comment docs.

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

@cppalliance-bot
Copy link

cppalliance-bot commented Feb 12, 2026

An automated preview of the documentation is available at https://42.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-02-12 15:58:52 UTC

@mborland mborland merged commit e6a3392 into develop Feb 12, 2026
42 of 44 checks passed
@mborland mborland deleted the 27 branch February 12, 2026 16:19
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 policy based bit shift methods Add bitwise functions to unsigned_integer_basis Add zig and rust style shift checking

2 participants