D
Dave Theese
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("68234626834978347342978234978432967234843857234582346234982437984237894
23798234982439842398");
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...
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("68234626834978347342978234978432967234843857234582346234982437984237894
23798234982439842398");
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...