Unsigned Integer

uint_16 has 0-65535

for example, a 16-bit unsigned integer would be able to represent 65536 distinct values in the range 0 to 65535, while its signed counterpart would be able to represent, on most cases, values between -32768 and 32767.

Because this huge value is the maximum value of an unsigned long long.
So every type is set at the maximum value because they are a multiple of each maximum.

2^2 = 4
2^4 = 16
2^8 = 256
2^16 = 65536
2^32 = 4294967296
2^64 = 18446744073709551616
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,501评论 0 23
  • 黑压压的夜晚,静谧深邃的夜空,群星璀璨。在它们之中,有一颗的地位总是和别人的不一样,因为它很亮,很耀眼。另一边的一...
    心理诗阅读 3,184评论 0 0
  • 《白鸽》 我忘记了光阴 白昼已经死去 阳光再灿烂明媚 也比不上繁星点点 你曾依在我肩膀 轻轻的问我 那闪烁的星光 ...
    晚熟的柿子阅读 1,544评论 0 1
  • 我从未亲眼目睹你的美,但你山色的每一次变化,都被身处异乡的我丝毫不差地收揽进心底。 离你数千公里远,每次得知你的消...
    吃火锅吗阅读 2,895评论 0 0

友情链接更多精彩内容