big numbers in C++

Discussion in 'C++' started by Elliot Chance, May 26, 2004.

  1. Hi,

    I want to store very big numbers (eg. 2^1024)

    Does any know how to store numbers like this, so they can then be
    manipulated, (+-*/)

    Thanks, Elliot
    Elliot Chance, May 26, 2004
    #1
    1. Advertising

  2. "Elliot Chance" <> wrote in message
    news:...
    > Hi,
    >
    > I want to store very big numbers (eg. 2^1024)
    >
    > Does any know how to store numbers like this, so they can then be
    > manipulated, (+-*/)
    >
    > Thanks, Elliot


    By far the simplest way is to use the work that someone else has already
    done. There are several free libraries that handle this sort of thing, for
    instance

    http://www.shoup.net/ntl/index.html

    john
    John Harrison, May 26, 2004
    #2
    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. Replies:
    11
    Views:
    694
    Roedy Green
    Sep 18, 2005
  2. Shaguf
    Replies:
    0
    Views:
    324
    Shaguf
    Dec 24, 2008
  3. Shaguf
    Replies:
    0
    Views:
    429
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    216
    Shaguf
    Dec 26, 2008
  5. Shaguf
    Replies:
    0
    Views:
    199
    Shaguf
    Dec 24, 2008
Loading...

Share This Page