Hello all,
Can anybody recommend a freely-available library that provides
unlimited-precision integers? All of the standard arithmetic operations
would need to be supported as well as construction from a std::string and
representation as a std::string. For example, something along these lines:
unlimited_int
foo("6823462683 497834734297823 497843296723484 385723458234623 498243798423789 4
237982349824398 42398");
cout << foo + 1 << endl;
Thanks in advance!
Dave
P.S. I believe such a library is under development in Boost, but is not yet
available. My desire would be to use this with the rational number library
from Boost, and then in turn use that with a matrix manipulation library to
do unlimited-precision matrix operations. Taking inverses, doing Gaussian
elimination, etc... can result in some mighty ugly rationals...
Comment