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

fix: bitcount invalid range #3792

Merged
merged 1 commit into from
Sep 26, 2024
Merged

fix: bitcount invalid range #3792

merged 1 commit into from
Sep 26, 2024

Conversation

BorysTheDev
Copy link
Contributor

the problem: (bitcount foo 1 0) counts bit for invalid range because we exchange start and end and get range [0, 1]
fix: return 0 if the range is invalid

@BorysTheDev BorysTheDev merged commit cd279af into main Sep 26, 2024
12 checks passed
@BorysTheDev BorysTheDev deleted the fix_bitcount_invalid_range branch September 26, 2024 13:31
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.

2 participants