Skip to content
Open
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
4 changes: 2 additions & 2 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7948,8 +7948,8 @@
\begin{example}
\begin{codeblock}
bool f() {
char array[1 + int(1 + 0.2 - 0.1 - 0.1)]; // Must be evaluated during translation
int size = 1 + int(1 + 0.2 - 0.1 - 0.1); // May be evaluated at runtime
char array[1 + int(1 + 0.2 - 0.1 - 0.1)]; // Arithmetic is evaluated during translation
int size = 1 + int(1 + 0.2 - 0.1 - 0.1); // Arithmetic is evaluated during execution
return sizeof(array) == size;
}
\end{codeblock}
Expand Down