Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integer bitwise-and tests #1283

Merged
merged 6 commits into from
Nov 30, 2024
Merged

Conversation

johnynek
Copy link
Owner

No description provided.

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.33%. Comparing base (04a0e87) to head (59ab6bb).
Report is 95 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1283      +/-   ##
==========================================
- Coverage   91.32%   89.33%   -2.00%     
==========================================
  Files          96      106      +10     
  Lines       11846    13300    +1454     
  Branches     2675     3018     +343     
==========================================
+ Hits        10818    11881    +1063     
- Misses       1028     1419     +391     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@johnynek johnynek changed the title Add integer and tests Add integer bitwise-and tests Nov 30, 2024
} else {
// Promote to big integer
_Bool is_positive = result >= 0;
uint64_t abs_result = result >= 0 ? result : -result;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking result >= 0 twice

@johnynek johnynek merged commit 76b6d19 into main Nov 30, 2024
8 checks passed
@johnynek johnynek deleted the oscar/20241129-add_int_and_checks branch November 30, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant