Hello, guys.

How would I deal with a variable that needs to be biggers than an unsigned long long integer?

Thank you.

The Boost libraries support arbitrarily large (and arbitrary precision) numbers. This is not available "out-of-the-box" for systems, which is why that Boost does provide this. Note that Boost was originally written for scientific computing where this was a needed capability. IE, if you want to estimate the # of protons in the universe, you need to have the ability to deal with REALLY big numbers! FWIW, the Boost Multiprecision library supports numbers up to 1024 bits by default. An unsigned long long is 128 bits, so you can represent numbers up to a power of 8 larger than that.

Here is an article about the MP library: http://www.codeproject.com/Articles/588385/Boost-Multiprecision-Library

  • bigger than

thank you, mate.

I'll look into that.