diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-11-05 20:19:04 +0100 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-11-05 20:19:04 +0100 |
| commit | cfb19a7085895cdbcf09c123c37735586dbe7695 (patch) | |
| tree | 430ec9952b1d840429f426871f228798eab867f6 /other/other.tex | |
| parent | a6e8d68a9b406027f48fb81cae6cf13d073ffa5a (diff) | |
make it build with a new tex version
Diffstat (limited to 'other/other.tex')
| -rw-r--r-- | other/other.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/other/other.tex b/other/other.tex index 7e73260..044ad02 100644 --- a/other/other.tex +++ b/other/other.tex @@ -17,9 +17,9 @@ \begin{expandtable}
\begin{tabularx}{\linewidth}{|Ll|}
\hline
- Bit an Position j lesen & \code{(x & (1 << j)) != 0} \\
+ Bit an Position j lesen & \code{(x \& (1 << j)) != 0} \\
Bit an Position j setzten & \code{x |= (1 << j)} \\
- Bit an Position j löschen & \code{x &= ~(1 << j)} \\
+ Bit an Position j löschen & \code{x \&= ~(1 << j)} \\
Bit an Position j flippen & \code{x ^= (1 << j)} \\
Anzahl an führenden nullen ($x \neq 0$) & \code{__builtin_clzll(x)} \\
Anzahl an schließenden nullen ($x \neq 0$) & \code{__builtin_ctzll(x)} \\
@@ -36,9 +36,9 @@ \begin{expandtable}
\begin{tabularx}{\linewidth}{|lR|}
\hline
- Addition & \code{__builtin_saddll_overflow(a, b, &c)} \\
- Subtraktion & \code{__builtin_ssubll_overflow(a, b, &c)} \\
- Multiplikation & \code{__builtin_smulll_overflow(a, b, &c)} \\
+ Addition & \code{__builtin_saddll_overflow(a, b, \&c)} \\
+ Subtraktion & \code{__builtin_ssubll_overflow(a, b, \&c)} \\
+ Multiplikation & \code{__builtin_smulll_overflow(a, b, \&c)} \\
\hline
\end{tabularx}
\end{expandtable}
|
