Popular recipes tagged "integers" but not "binary"http://code.activestate.com/recipes/tags/integers-binary/2016-07-14T21:08:01-07:00ActiveState Code RecipesConvert Spelled out Integers (e.g. three thousand two hundred fifty) into Integers (e.g. 3250) and Vice Versa (Python)
2016-07-14T21:08:01-07:00Chathura Gunasekarahttp://code.activestate.com/recipes/users/4194443/http://code.activestate.com/recipes/580689-convert-spelled-out-integers-eg-three-thousand-two/
<p style="color: grey">
Python
recipe 580689
by <a href="/recipes/users/4194443/">Chathura Gunasekara</a>
(<a href="/recipes/tags/integers/">integers</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/strings/">strings</a>).
</p>
<p>-Provides an isNumber function that can test if a floating point number is a number
-str_to_int can convert a spelled out integer (e.g. 'one hundred thirty five') to its numeric form (e.g. 135)
-int_to_str can convert an integer into its spelled out form.</p>
Convert Spelled out Integers (e.g. three thousand two hundred fifty) into Integers (e.g. 3250) and Vice Versa (Python)
2016-06-09T20:35:26-07:00Brandon Martinhttp://code.activestate.com/recipes/users/4194238/http://code.activestate.com/recipes/580679-convert-spelled-out-integers-eg-three-thousand-two/
<p style="color: grey">
Python
recipe 580679
by <a href="/recipes/users/4194238/">Brandon Martin</a>
(<a href="/recipes/tags/integers/">integers</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/strings/">strings</a>).
</p>
<p>-Provides an isNumber function that can test if a floating point number is a number
-str_to_int can convert a spelled out integer (e.g. 'one hundred thirty five') to its numeric form (e.g. 135)
-int_to_str can convert an integer into its spelled out form.</p>
Karatsuba 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>