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 BinInt, implement divmod and just for fun, add Nat.scala #1194

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

johnynek
Copy link
Owner

@johnynek johnynek commented Apr 6, 2024

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Apr 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.70%. Comparing base (04a0e87) to head (1a249de).
Report is 25 commits behind head on main.

❗ Current head 1a249de differs from pull request most recent head d7d1e03. Consider uploading reports for the commit d7d1e03 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1194      +/-   ##
==========================================
+ Coverage   91.32%   91.70%   +0.38%     
==========================================
  Files          96       97       +1     
  Lines       11846    12160     +314     
  Branches     2675     2818     +143     
==========================================
+ Hits        10818    11151     +333     
+ Misses       1028     1009      -19     

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

match b:
case BWNot(b):
# -a - 1 <> -b - 1 == (a <> b).invert
match cmp_BinNat(a, b):
Copy link
Owner Author

Choose a reason for hiding this comment

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

this could just be cmp_BinNat(b, a)

@johnynek johnynek merged commit 56fc9c1 into main Apr 10, 2024
7 checks passed
@johnynek johnynek deleted the oscar/20240405_binint_and_binnat_divmod branch April 10, 2024 03:33
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.

None yet

2 participants