emulate big (integer) numbers

Hi all friends. I want to work with very long integers but memory (allocation) sets a limit to them. The limit of say 4,294,967,295 is to limited for the purpose i intend. Probably there are many libraries or classes written that can "emulate" longer numbers (over 4 bytes). I didn't find a good suggestion so far. Any ideas? Any help is appreciated.
Look for "arbitrary precision arithmetic". There are tons of good libraries for C++.

https://en.wikipedia.org/wiki/List_of_arbitrary-precision_arithmetic_software
PanGalactic, do you happen to have experience with some of the recommended libs? If so, maybe you can give some advise? Or shall i just start with the GNU lib (Multiple Precision Arithmetic Library)? But this looks very C-style.
Last edited on
I've used GMP in the past, but if I were to need it today, I would almost certainly start with Boost.
Thanks for the tip PanGalactic. I'll pick it up from here and will have a look at both libs gnu and boost.
Topic archived. No new replies allowed.