You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The text of Stage 1 begins by introducing local variables
flags
,basefield
,uppercase
,floatfield
,showpos
, andshowbase
, note thatshowbase
is initialized withflags & (ios_base::showbase)
Tables 86 and 87 use
basefield
,uppercase
, andfloatfield
as one would expect. However, Table 89 usesshowbase
in the expressionflags & showbase
, re-applying the bitwise &, and then uses undefined variableshowpoint
in the expressionflags & 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
andshowbase
without the repeated bitwise &, orshowbase
should be removed from the list of local variables and Table 89 modified to sayflags & ios_base::showpos
andflags & ios_base::showpoint
. The former option seems more consistent, the latter more concise.The text was updated successfully, but these errors were encountered: