<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>poster.tex</title>
<style type="text/css">
.enscript-comment { font-style: italic; color: rgb(178,34,34); }
.enscript-function-name { font-weight: bold; color: rgb(0,0,255); }
.enscript-variable-name { font-weight: bold; color: rgb(184,134,11); }
.enscript-keyword { font-weight: bold; color: rgb(160,32,240); }
.enscript-reference { font-weight: bold; color: rgb(95,158,160); }
.enscript-string { font-weight: bold; color: rgb(188,143,143); }
.enscript-builtin { font-weight: bold; color: rgb(218,112,214); }
.enscript-type { font-weight: bold; color: rgb(34,139,34); }
.enscript-highlight { text-decoration: underline; color: 0; }
</style>
</head>
<body id="top">
<h1 style="margin:8px;" id="f1">poster.tex&nbsp;&nbsp;&nbsp;<span style="font-weight: normal; font-size: 0.5em;">[<a href="poster.tex">plain text</a>]</span></h1>
<hr/>
<div></div>
<pre>
<span class="enscript-keyword">\documentclass</span>[landscape,11pt]{article}
<span class="enscript-keyword">\usepackage</span>{amsmath, amssymb}
<span class="enscript-keyword">\usepackage</span>{hyperref}
<span class="enscript-keyword">\begin</span>{document}
<span class="enscript-keyword">\hspace</span>*{-3in}
<span class="enscript-keyword">\begin</span>{tabular}{llllll}
<span class="enscript-variable-name">$c = a + b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>add(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)} &amp; <span class="enscript-variable-name">$b = 2a$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>mul<span class="enscript-keyword">\_</span>2(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)} &amp; <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$c = a - b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>sub(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)} &amp; <span class="enscript-variable-name">$b = a/2$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>div<span class="enscript-keyword">\_</span>2(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)} &amp; <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$c = ab $</span>   &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>mul(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)}  &amp; <span class="enscript-variable-name">$c = 2^ba$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>mul<span class="enscript-keyword">\_</span>2d(<span class="enscript-keyword">\&amp;</span>a, b, <span class="enscript-keyword">\&amp;</span>c)}  <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$b = a^2 $</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>sqr(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)}       &amp; <span class="enscript-variable-name">$c = a/2^b, d = a \mod 2^b$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>div<span class="enscript-keyword">\_</span>2d(<span class="enscript-keyword">\&amp;</span>a, b, <span class="enscript-keyword">\&amp;</span>c, <span class="enscript-keyword">\&amp;</span>d)} <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$c = \lfloor a/b \rfloor, d = a \mod b$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>div(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c, <span class="enscript-keyword">\&amp;</span>d)} &amp; <span class="enscript-variable-name">$c = a \mod 2^b $</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>mod<span class="enscript-keyword">\_</span>2d(<span class="enscript-keyword">\&amp;</span>a, b, <span class="enscript-keyword">\&amp;</span>c)}  <span class="enscript-keyword">\\</span>
 &amp;&amp; <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$a = b $</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>set<span class="enscript-keyword">\_</span>int(<span class="enscript-keyword">\&amp;</span>a, b)}  &amp; <span class="enscript-variable-name">$c = a \vee b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>or(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)}  <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$b = a $</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>copy(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)} &amp; <span class="enscript-variable-name">$c = a \wedge b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>and(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)}  <span class="enscript-keyword">\\</span>
 &amp;&amp; <span class="enscript-variable-name">$c = a \oplus b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>xor(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)}  <span class="enscript-keyword">\\</span>
 &amp; <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$b = -a $</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>neg(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)}  &amp; <span class="enscript-variable-name">$d = a + b \mod c$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>addmod(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c, <span class="enscript-keyword">\&amp;</span>d)}  <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$b = |a| $</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>abs(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)} &amp; <span class="enscript-variable-name">$d = a - b \mod c$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>submod(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c, <span class="enscript-keyword">\&amp;</span>d)}  <span class="enscript-keyword">\\</span>
 &amp;&amp; <span class="enscript-variable-name">$d = ab \mod c$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>mulmod(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c, <span class="enscript-keyword">\&amp;</span>d)}  <span class="enscript-keyword">\\</span>
Compare <span class="enscript-variable-name">$a$</span> and <span class="enscript-variable-name">$b$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>cmp(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)} &amp; <span class="enscript-variable-name">$c = a^2 \mod b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>sqrmod(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)}  <span class="enscript-keyword">\\</span>
Is Zero? &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>iszero(<span class="enscript-keyword">\&amp;</span>a)} &amp; <span class="enscript-variable-name">$c = a^{-1} \mod b$</span>  &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>invmod(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)} <span class="enscript-keyword">\\</span>
Is Even? &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>iseven(<span class="enscript-keyword">\&amp;</span>a)} &amp; <span class="enscript-variable-name">$d = a^b \mod c$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>exptmod(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c, <span class="enscript-keyword">\&amp;</span>d)} <span class="enscript-keyword">\\</span>
Is Odd ? &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>isodd(<span class="enscript-keyword">\&amp;</span>a)} <span class="enscript-keyword">\\</span>
&amp;<span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$\vert \vert a \vert \vert$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>unsigned<span class="enscript-keyword">\_</span>bin<span class="enscript-keyword">\_</span>size(<span class="enscript-keyword">\&amp;</span>a)} &amp; <span class="enscript-variable-name">$res$</span> = 1 if <span class="enscript-variable-name">$a$</span> prime to <span class="enscript-variable-name">$t$</span> rounds? &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>prime<span class="enscript-keyword">\_</span>is<span class="enscript-keyword">\_</span>prime(<span class="enscript-keyword">\&amp;</span>a, t, <span class="enscript-keyword">\&amp;</span>res)} <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$buf \leftarrow a$</span>          &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>to<span class="enscript-keyword">\_</span>unsigned<span class="enscript-keyword">\_</span>bin(<span class="enscript-keyword">\&amp;</span>a, buf)} &amp; Next prime after <span class="enscript-variable-name">$a$</span> to <span class="enscript-variable-name">$t$</span> rounds. &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>prime<span class="enscript-keyword">\_</span>next<span class="enscript-keyword">\_</span>prime(<span class="enscript-keyword">\&amp;</span>a, t, bbs<span class="enscript-keyword">\_</span>style)} <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$a \leftarrow buf[0..len-1]$</span>          &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>read<span class="enscript-keyword">\_</span>unsigned<span class="enscript-keyword">\_</span>bin(<span class="enscript-keyword">\&amp;</span>a, buf, len)} <span class="enscript-keyword">\\</span>
&amp;<span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$b = \sqrt{a}$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>sqrt(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b)}  &amp; <span class="enscript-variable-name">$c = \mbox{gcd}(a, b)$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>gcd(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)} <span class="enscript-keyword">\\</span>
<span class="enscript-variable-name">$c = a^{1/b}$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>n<span class="enscript-keyword">\_</span>root(<span class="enscript-keyword">\&amp;</span>a, b, <span class="enscript-keyword">\&amp;</span>c)} &amp; <span class="enscript-variable-name">$c = \mbox{lcm}(a, b)$</span> &amp; {<span class="enscript-keyword">\tt</span> mp<span class="enscript-keyword">\_</span>lcm(<span class="enscript-keyword">\&amp;</span>a, <span class="enscript-keyword">\&amp;</span>b, <span class="enscript-keyword">\&amp;</span>c)} <span class="enscript-keyword">\\</span>
&amp;<span class="enscript-keyword">\\</span>
Greater Than &amp; MP<span class="enscript-keyword">\_</span>GT &amp; Equal To &amp; MP<span class="enscript-keyword">\_</span>EQ <span class="enscript-keyword">\\</span>
Less Than &amp; MP<span class="enscript-keyword">\_</span>LT &amp; Bits per digit &amp; DIGIT<span class="enscript-keyword">\_</span>BIT <span class="enscript-keyword">\\</span>
<span class="enscript-keyword">\end</span>{tabular}
<span class="enscript-keyword">\end</span>{document}
</pre>
<hr />
</body></html>