basic calculations with very large numbers

Discussion in 'C++' started by mj, Sep 12, 2003.

  1. mj

    mj Guest

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

    thanx ,
    martin
    mj, Sep 12, 2003
    #1
    1. Advertising

  2. mj

    Mike Wahler Guest

    mj <> wrote in message
    news:8fp8b.96744$...
    > What is the easiest way to do basic arithmetic operations with numbers
    > that exceed the 32bit size. eg.: 200digits_number + 200digits_number


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

    -Mike
    Mike Wahler, Sep 12, 2003
    #2
    1. Advertising

  3. mj wrote:

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


    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
    Thomas Matthews, Sep 12, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Raymond Arthur St. Marie II of III

    very Very VERY dumb Question About The new Set( ) 's

    Raymond Arthur St. Marie II of III, Jul 23, 2003, in forum: Python
    Replies:
    4
    Views:
    443
    Raymond Hettinger
    Jul 27, 2003
  2. shanx__=|;-

    very very very long integer

    shanx__=|;-, Oct 16, 2004, in forum: C Programming
    Replies:
    19
    Views:
    1,582
    Merrill & Michele
    Oct 19, 2004
  3. Peter

    Very very very basic question

    Peter, Feb 8, 2005, in forum: C Programming
    Replies:
    14
    Views:
    491
    Dave Thompson
    Feb 14, 2005
  4. Frinton

    Calculations on LARGE numbers

    Frinton, Mar 13, 2006, in forum: ASP General
    Replies:
    22
    Views:
    356
    de Graff
    Apr 7, 2006
  5. bmm
    Replies:
    0
    Views:
    127
Loading...

Share This Page