V2EX  ›  英汉词典

Uint64

Definition 释义

uint64:常见于编程语境,指“64 位无符号整数”这一数据类型(取值范围通常为 0 到 2^64 − 1)。在不同语言/库中也常写作 uint64_tUInt64 等。

Pronunciation 发音

/ˌjuːɪnt ˈsɪksti fɔːr/

Examples 例句

The file size is stored as a uint64 to avoid overflow.
文件大小用 uint64 存储,以避免溢出。

When you serialize the timestamp into binary, using a uint64 ensures it can represent very large values consistently across platforms.
当你把时间戳序列化为二进制时,使用 uint64 可以确保它在不同平台上都能一致地表示非常大的数值。

Etymology 词源

uint64 是编程命名的缩写组合:u = unsigned(无符号),int = integer(整数),64 = 64 位宽度。它描述的是“用 64 个二进制位表示的非负整数”,常用于计数、哈希、时间戳、文件大小等需要更大范围的场景。

Related Words 相关词

Literary Works 文学/著作示例

  • ISO/IEC 9899(C 语言标准文档,常以 uint64_t 形式出现)
  • The Rust Programming Language(Rust 官方书籍,常见 u64 / 64-bit unsigned integer 的讨论)
  • The Go Programming Language(Go 语言书籍/文档,常见 uint64 类型用法)
  • Hacker’s Delight(位运算与整数技巧相关著作,涉及 64 位无符号整数语境)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1860 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 02:46 · PVG 10:46 · LAX 18:46 · JFK 21:46
♥ Do have faith in what you're doing.