Author Topic: BigInteger - Dealing with large Integers  (Read 3908 times)

Offline stanek

  • Single posting newcomer
  • *
  • Posts: 3
BigInteger - Dealing with large Integers
« on: October 25, 2011, 04:36:57 am »
I am trying to learn programming and find myself writing C++ using code::blocks.  I am trying to tackle Project Euler puzzles to get started and am finding that a lot of the problems are using numerical values outside of even a long long.

I am looking for something to support big integers.  Does anyone have any recommendations?  I have found something called BigInteger but I do not know how to configure it.

Maybe you can tell me how you deal with big integers.

Offline stanek

  • Single posting newcomer
  • *
  • Posts: 3
Re: BigInteger - Dealing with large Integers
« Reply #1 on: October 25, 2011, 06:40:06 am »
The keyword was Big Num.  http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic has a nice list of available 'addons?'.

I ended up choosing http://en.wikipedia.org/wiki/Class_Library_for_Numbers because it had the most options.

The install instructions were very clear.  As it turns out the only setting I had to change was to point to the proper directory for the .a linker.

Hopefully CLN does what im looking for.