INT_MAX在32位和64位环境 [英] int_max in 32 bit vs 64 bit environment

查看:562
本文介绍了INT_MAX在32位和64位环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

INT_MAX 32位和64位环境之间有什么不同?现在看来似乎会是这样,但我听到人们说,64位环境中只使用了32位环境的INT_MAX。

Is INT_MAX different between a 32-bit and 64-bit environment? It seems like it would be the case, though I've heard people say that the 64-bit environment just uses the 32-bit environment's INT_MAX.

推荐答案

这取决于系统。在Intel的Linux它们是相同的。检查 limits.h中

It depends on the system. On Intel Linux they are the same. check limits.h

这篇关于INT_MAX在32位和64位环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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