News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Big Integer Package

Started by gnomehome, April 21, 2005, 11:42:43 PM

Previous topic - Next topic

Eddy

For large integer numbers, the 'Schoolbook division algorithm' generally has the best performance.
If you Google for it, you will find plenty of references. Here is one:
http://www.treskal.com/kalle/exjobb/original-report.pdf

If you have to tackle very large integer numbers (like for very large prime number testing/generation) you could use the Burnikel & Ziegler 'divise and conquer' method.

Kind regards
Eddy
www.devotechs.com -- HIME Huge Integer Math and Encryption library--
Eddy
www.devotechs.com -- HIME : Huge Integer Math and Encryption library--

GregL

I have used GMP in C programs but not in a MASM program. If you convert the headers it should work fine as it is a standard DLL. Also available as a static lib.