Skip to content

Fix description of rounding_shift_left/rounding_shift_right#6549

Merged
dsharletg merged 1 commit intomasterfrom
dsharletg-patch-1
Jan 7, 2022
Merged

Fix description of rounding_shift_left/rounding_shift_right#6549
dsharletg merged 1 commit intomasterfrom
dsharletg-patch-1

Conversation

@dsharletg
Copy link
Copy Markdown
Contributor

The comment refers to an older understanding which is incorrect for saturating cases, e.g. rounding_shift_right(255, 1) = 128 (new definition) and not 127 (old definition).

@dsharletg
Copy link
Copy Markdown
Contributor Author

This PR only affects comments, I will merge (ignoring failures).

@dsharletg dsharletg merged commit 4ec870d into master Jan 7, 2022
@dsharletg dsharletg deleted the dsharletg-patch-1 branch January 7, 2022 22:03
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