Best arbitrary precision library for C++?

Soldato
Joined
15 Feb 2011
Posts
10,234
Location
Slough
I've started to use project euler as a source of short and interesting programming projects. While the simpler tasks are easily doable with the standard variable types some of the more complex problems will need longer integers (and probably longer decimals) than C++ can provide. I could create my own library to deal with arbitrarily long numbers but there are plenty that have been developed already. If anyone could give me recommendations as to which is the best of those available, that would be great.
 
Soldato
OP
Joined
15 Feb 2011
Posts
10,234
Location
Slough
Possibly a stupid question but, since I cant seem to find any way of installing this without compiling it all myself, are there any alternatives to gmp which don't need to be compiled by me? After the nightmare that was compiling openCV and some of its other libraries I don't want to have to go through that again just to do some programming projects.

Also, I should have mentioned in the original post, but I'm running on windows 7 and hoping to use visual studios for the programming. 99% of all the installation instructions are about linux/unix for gmp.
 
Back
Top Bottom