C ++最大数字存储 [英] C++ Largest Numerical Storage

查看:158
本文介绍了C ++最大数字存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有相当于C ++中的Java Bigint可以存储以下数字:

Is there an equivalent to Java's Bigint in C++ that can store the following number:

我看过unsigned long long int,但是没有足够大的存储空间。

I've looked at unsigned long long int but that is not nearly as big enough to store that.

推荐答案

请检查:

  • C++ Big Integer Library
  • GMP
  • TTMath

这篇关于C ++最大数字存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆