Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Large integer implementation

Name: Anonymous 2011-01-02 8:27

Why do many large integer libraries store their data as a string of symbols instead of a block of integers native to the system? It seems to me that this would make bitwise operations rather difficult to implement.

Name: Anonymous 2011-01-02 17:00

Stop trying to implement RSA and get someone else to do your homework for you.

GMP uses an array of machine words for speed reasons. GNU bc uses a char array of decimal digits.

To not answer your question, see The Art of Computer Programming, vol. 2: Seminumerical Algorithms by Donald Knuth.

I find this page informative: http://www.codeproject.com/KB/cs/biginteger.aspx

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List