mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-03-14 23:10:03 +01:00
[SPCA] Fixes a few errors
This commit is contained in:
@@ -37,7 +37,7 @@ Very low precedence belongs to boolean operators \verb|&&| and \texttt{||}, as w
|
||||
\shade{blue}{Associativity}
|
||||
\begin{itemize}
|
||||
\item Left-to-right: $A + B + C \mapsto (A + B) + C$
|
||||
\item Right-to-left: \texttt{A += B += C} $\mapsto$ \texttt{(A += B) += C}
|
||||
\item Right-to-left: \texttt{A += B += C} $\mapsto$ \texttt{A += (B += C)}
|
||||
\end{itemize}
|
||||
|
||||
As it should be, boolean and, as well as boolean or, support early termination.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
\subsubsection{Integers in C}
|
||||
\label{sec:c-integers}
|
||||
As a reminder, integers are encoded as follows in big endian notation, with $x_i$ being the $i$-th bit and $w$ being the number of bits used to represent the number:
|
||||
\begin{itemize}[noitemsep]
|
||||
\item \bi{Unsigned}: $\displaystyle \sum_{i = 0}^{w - 1} x_i \cdot 2^i$
|
||||
|
||||
Reference in New Issue
Block a user