Skip to content

Commit

Permalink
[lex.icon] itemize extended integer choice
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenwave committed Aug 19, 2023
1 parent a272b7c commit 5c62015
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1327,14 +1327,17 @@
cannot be represented by any type in its list and
an extended integer type\iref{basic.fundamental} can represent its value,
it may have that extended integer type.
If all of the types in the list for the \grammarterm{integer-literal}
This type shall have the following signedness:
\begin{itemize}
\item If all types in the list for the \grammarterm{integer-literal}
are signed,
the extended integer type is signed.
If all of the types in the list for the \grammarterm{integer-literal}
\item If all types in the list for the \grammarterm{integer-literal}
are unsigned,
the extended integer type is unsigned.
If the list contains both signed and unsigned types,
\item Otherwise,
the extended integer type may be signed or unsigned.
\end{itemize}
If an \grammarterm{integer-literal}
cannot be represented by any of the allowed types,
the program is ill-formed.
Expand Down

0 comments on commit 5c62015

Please sign in to comment.