开发者

Using numbers outside the range of unsigned long long?

I've been trying to use numbers beyond the range of unsigned long long. Can anyone help me regarding the use of numbers beyo开发者_JS百科nd the range of unsigned long long?


You're going to need some kind of astronomical numerics library (also called arbitrary-precision arithmetic). GNU's MP Bignum library is nice, if you don't mind the LGPL: http://gmplib.org/


Boost has BigNum type implementations as well. That might work for you if you are already using Boost.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜