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

[facet.num.put.virtuals] Table 89 refers to an undefined variable and reapplies a bitwise & #605

Closed
cubbimew opened this issue Jan 21, 2016 · 0 comments

Comments

@cubbimew
Copy link
Contributor

The text of Stage 1 begins by introducing local variables flags, basefield, uppercase, floatfield, showpos, and showbase, note that showbase is initialized with flags & (ios_base::showbase)

Tables 86 and 87 use basefield, uppercase, and floatfield as one would expect. However, Table 89 uses showbase in the expression flags & showbase, re-applying the bitwise &, and then uses undefined variable showpoint in the expression flags & showpoint.

Either the definition of showpoint should be added to the list of local variables in Stage 1 and Table 89 modified to say showpos and showbase without the repeated bitwise &, or showbase should be removed from the list of local variables and Table 89 modified to say flags & ios_base::showpos and flags & ios_base::showpoint. The former option seems more consistent, the latter more concise.

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

No branches or pull requests

1 participant