Skip to content

[dcl.enum] CWG 1636: Fix calculation for bmax #1349

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,7 @@
values in the range $b_{min}$ to $b_{max}$, defined as follows: Let $K$
be 1 for a two's complement representation and 0 for a ones' complement
or sign-magnitude representation. $b_{max}$ is the smallest value
greater than or equal to $max(|e_{min}| - K, |e_{max}|)$ and equal to
greater than or equal to $max(|e_{min}| - K, e_{max})$ and equal to
$2^M-1$, where $M$ is a non-negative integer. $b_{min}$ is zero if
$e_{min}$ is non-negative and $-(b_{max}+K)$ otherwise. The size of the
smallest bit-field large enough to hold all the values of the
Expand Down