By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,851 Members | 2,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,851 IT Pros & Developers. It's quick & easy.

big numbers in C++

P: n/a
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
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Elliot Chance" <el****@chancemedia.com> wrote in message
news:48**************************@posting.google.c om...
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
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.