GCC编译器是否可以处理比long / long / int更大的其他数据类型?
Is there is any other data type larger than long long int that can be handled by GCC compiler?
和我不能编译一个程序,因为同样的。我已经尝试过long long int
来获得11^26的值。
然而,在调试时,当我达到11^20时,我看到值突然变化,因为在数字的最后一位,而不是一个改变到另一个数字。
No。目前最大的是(阳性)uint64_t
。您可以使用一些库实现(例如http://gmplib.org/)或实现您自己的类型。
相关文章:
- 在执行其他功能的同时播放动画(LED矩阵和Arduino/ESP8266)
- 将数组作为参数传递给函数安全吗?作为第三方职能部门,可以探索他们想要的之外的其他元素
- 如何在 C 中正确使用 libiconv 使其不会报告"Arg list too long"?
- 不能在初始值设定项列表中将非常量表达式从类型 'int' 缩小到'unsigned long long'
- 有没有什么方法可以使用一个函数中定义的常量变量,也可以由c++中同一程序中的其他函数使用
- GL_SHADERSTORAGE_BUFFER位置是否与其他着色器位置冲突
- 为什么我不能在 C++ 中的特定函数重载中调用同一函数的任何其他重载?
- 在其他文件中创建类时在 c++ 项目中不起作用
- 类与私有变量的其他类之间的线程安全性
- 在C++中使用GDAL可以将图像的像素坐标转换为lat,long吗
- 将--whole archive链接器选项与CMake和具有其他库依赖项的库一起使用
- GlobalAlloc而不是其他分配方法
- C++从其他 constexpr 创建 lambda 不能按顺序执行 Constexpr
- 断言中的Fold表达式在某些计算机上编译,但在其他计算机上不编译
- Visual Studio(或任何其他工具)能否将地址解释为调用堆栈(boost上下文)的开头
- 结构和双指针隐藏在其他结构中,多层混淆
- UE4在OnComponentBeginOverlap上铸造其他actor
- 当我在其中一个线程执行中(在activemq-cpp中)捕获到特定值时,我如何终止/停止所有其他线程
- GCC编译器是否可以处理比long / long / int更大的其他数据类型?
- 对类型long或其他类型有一些疑问