GCC编译器是否可以处理比long / long / int更大的其他数据类型?

Is there is any other data type larger than long long int that can be handled by GCC compiler?

本文关键字:long 其他 数据类型 int 编译器 处理 GCC 是否      更新时间:2023-10-16

和我不能编译一个程序,因为同样的。我已经尝试过long long int来获得11^26的值。

然而,在调试时,当我达到11^20时,我看到值突然变化,因为在数字的最后一位,而不是一个改变到另一个数字。

No。目前最大的是(阳性)uint64_t。您可以使用一些库实现(例如http://gmplib.org/)或实现您自己的类型。

相关文章: