<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[landscape,11pt]{article}
\usepackage{amsmath, amssymb}
\usepackage{hyperref}
\begin{document}
\hspace*{-3in}
\begin{tabular}{llllll}
$c = a + b$  &amp; {\tt mp\_add(\&amp;a, \&amp;b, \&amp;c)} &amp; $b = 2a$  &amp; {\tt mp\_mul\_2(\&amp;a, \&amp;b)} &amp; \\
$c = a - b$  &amp; {\tt mp\_sub(\&amp;a, \&amp;b, \&amp;c)} &amp; $b = a/2$ &amp; {\tt mp\_div\_2(\&amp;a, \&amp;b)} &amp; \\
$c = ab $   &amp; {\tt mp\_mul(\&amp;a, \&amp;b, \&amp;c)}  &amp; $c = 2^ba$  &amp; {\tt mp\_mul\_2d(\&amp;a, b, \&amp;c)}  \\
$b = a^2 $  &amp; {\tt mp\_sqr(\&amp;a, \&amp;b)}       &amp; $c = a/2^b, d = a \mod 2^b$ &amp; {\tt mp\_div\_2d(\&amp;a, b, \&amp;c, \&amp;d)} \\
$c = \lfloor a/b \rfloor, d = a \mod b$ &amp; {\tt mp\_div(\&amp;a, \&amp;b, \&amp;c, \&amp;d)} &amp; $c = a \mod 2^b $  &amp; {\tt mp\_mod\_2d(\&amp;a, b, \&amp;c)}  \\
 &amp;&amp; \\
$a = b $  &amp; {\tt mp\_set\_int(\&amp;a, b)}  &amp; $c = a \vee b$  &amp; {\tt mp\_or(\&amp;a, \&amp;b, \&amp;c)}  \\
$b = a $  &amp; {\tt mp\_copy(\&amp;a, \&amp;b)} &amp; $c = a \wedge b$  &amp; {\tt mp\_and(\&amp;a, \&amp;b, \&amp;c)}  \\
 &amp;&amp; $c = a \oplus b$  &amp; {\tt mp\_xor(\&amp;a, \&amp;b, \&amp;c)}  \\
 &amp; \\
$b = -a $  &amp; {\tt mp\_neg(\&amp;a, \&amp;b)}  &amp; $d = a + b \mod c$  &amp; {\tt mp\_addmod(\&amp;a, \&amp;b, \&amp;c, \&amp;d)}  \\
$b = |a| $  &amp; {\tt mp\_abs(\&amp;a, \&amp;b)} &amp; $d = a - b \mod c$  &amp; {\tt mp\_submod(\&amp;a, \&amp;b, \&amp;c, \&amp;d)}  \\
 &amp;&amp; $d = ab \mod c$  &amp; {\tt mp\_mulmod(\&amp;a, \&amp;b, \&amp;c, \&amp;d)}  \\
Compare $a$ and $b$ &amp; {\tt mp\_cmp(\&amp;a, \&amp;b)} &amp; $c = a^2 \mod b$  &amp; {\tt mp\_sqrmod(\&amp;a, \&amp;b, \&amp;c)}  \\
Is Zero? &amp; {\tt mp\_iszero(\&amp;a)} &amp; $c = a^{-1} \mod b$  &amp; {\tt mp\_invmod(\&amp;a, \&amp;b, \&amp;c)} \\
Is Even? &amp; {\tt mp\_iseven(\&amp;a)} &amp; $d = a^b \mod c$ &amp; {\tt mp\_exptmod(\&amp;a, \&amp;b, \&amp;c, \&amp;d)} \\
Is Odd ? &amp; {\tt mp\_isodd(\&amp;a)} \\
&amp;\\
$\vert \vert a \vert \vert$ &amp; {\tt mp\_unsigned\_bin\_size(\&amp;a)} &amp; $res$ = 1 if $a$ prime to $t$ rounds? &amp; {\tt mp\_prime\_is\_prime(\&amp;a, t, \&amp;res)} \\
$buf \leftarrow a$          &amp; {\tt mp\_to\_unsigned\_bin(\&amp;a, buf)} &amp; Next prime after $a$ to $t$ rounds. &amp; {\tt mp\_prime\_next\_prime(\&amp;a, t, bbs\_style)} \\
$a \leftarrow buf[0..len-1]$          &amp; {\tt mp\_read\_unsigned\_bin(\&amp;a, buf, len)} \\
&amp;\\
$b = \sqrt{a}$ &amp; {\tt mp\_sqrt(\&amp;a, \&amp;b)}  &amp; $c = \mbox{gcd}(a, b)$ &amp; {\tt mp\_gcd(\&amp;a, \&amp;b, \&amp;c)} \\
$c = a^{1/b}$ &amp; {\tt mp\_n\_root(\&amp;a, b, \&amp;c)} &amp; $c = \mbox{lcm}(a, b)$ &amp; {\tt mp\_lcm(\&amp;a, \&amp;b, \&amp;c)} \\
&amp;\\
Greater Than &amp; MP\_GT &amp; Equal To &amp; MP\_EQ \\
Less Than &amp; MP\_LT &amp; Bits per digit &amp; DIGIT\_BIT \\
\end{tabular}
\end{document}
</pre></body></html>