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

HOTFIX define Int2Bytes for -1 again #4554

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

jberthold
Copy link
Member

Fixing an oversight in the previous change.
The value of I in the formula for negative I is actually bitwise-negated instead of just taking its negative. Therefore, we would be calling log2Int(0) for I ==Int -1.

Fixing an oversight in the previous change.
The value of `I` in the formula for negative `I` is actually
_bitwise-negated_ instead of just taking its negative. Therefore,
we would be calling log2Int(0) for `I ==Int -1`.
@rv-jenkins rv-jenkins changed the base branch from master to develop July 26, 2024 01:29
@jberthold jberthold marked this pull request as ready for review July 26, 2024 01:55
@rv-jenkins rv-jenkins merged commit 869befa into develop Jul 26, 2024
17 checks passed
@rv-jenkins rv-jenkins deleted the HOTFIX-fix-Int2Bytes-for-negative-1 branch July 26, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants