Popular recipes tagged "integers" but not "numbers"http://code.activestate.com/recipes/tags/integers-numbers/2009-07-02T14:23:17-07:00ActiveState Code RecipesKaratsuba algorithm (C++)
2009-07-02T14:23:17-07:00Guillermo Lópezhttp://code.activestate.com/recipes/users/4170956/http://code.activestate.com/recipes/576827-karatsuba-algorithm/
<p style="color: grey">
C++
recipe 576827
by <a href="/recipes/users/4170956/">Guillermo López</a>
(<a href="/recipes/tags/integers/">integers</a>, <a href="/recipes/tags/karatsuba/">karatsuba</a>, <a href="/recipes/tags/multiply/">multiply</a>).
</p>
<p>Used to multiply big integers (visible difference with >400bits).</p>
Converting arbitrary size Python integers to packed binary data strings (Python)
2009-01-16T13:27:29-08:00David Mosshttp://code.activestate.com/recipes/users/4124829/http://code.activestate.com/recipes/576617-converting-arbitrary-size-python-integers-to-packe/
<p style="color: grey">
Python
recipe 576617
by <a href="/recipes/users/4124829/">David Moss</a>
(<a href="/recipes/tags/binary/">binary</a>, <a href="/recipes/tags/integers/">integers</a>, <a href="/recipes/tags/pack/">pack</a>, <a href="/recipes/tags/struct/">struct</a>, <a href="/recipes/tags/unpack/">unpack</a>, <a href="/recipes/tags/unsigned/">unsigned</a>).
</p>
<p>Routines for converting <strong>large</strong> unsigned arbitrary sized Python integers to packed binary data strings and vice versa.</p>