Connecting Tech Pros Worldwide Help | Site Map

basic calculations with very large numbers

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 19th, 2005, 05:26 PM
mj
Guest
 
Posts: n/a
Default basic calculations with very large numbers

What is the easiest way to do basic arithmetic operations with numbers
that exceed the 32bit size. eg.: 200digits_number + 200digits_number

thanx ,
martin


  #2  
Old July 19th, 2005, 05:26 PM
Mike Wahler
Guest
 
Posts: n/a
Default Re: basic calculations with very large numbers


mj <e9625481@stud3.tuwien.ac.at> wrote in message
news:8fp8b.96744$ef4.862167@news.chello.at...[color=blue]
> What is the easiest way to do basic arithmetic operations with numbers
> that exceed the 32bit size. eg.: 200digits_number + 200digits_number[/color]

Get a library that does it.
www.google.com

-Mike



  #3  
Old July 19th, 2005, 05:27 PM
Thomas Matthews
Guest
 
Posts: n/a
Default Re: basic calculations with very large numbers

mj wrote:
[color=blue]
> What is the easiest way to do basic arithmetic operations with numbers
> that exceed the 32bit size. eg.: 200digits_number + 200digits_number
>
> thanx ,
> martin
>[/color]

I've used the GMP and Openssl/Crypto/Big Number library.
I recommend the Big Number library.


--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.