V2EX  ›  英汉词典
Enqueued related words: Biginteger, Arbitrary-precision, Bignum

Bigint

定义 Definition

Bigint 通常指编程中的“大整数类型”(Big Integer 的缩写写法),用来表示超出普通整数类型范围的整数,避免溢出。在不同语言/平台中实现方式不同(如 JavaScript 的 BigInt、部分语言/库中的 bigintBigInteger)。

例句 Examples

I used a bigint because the ID can exceed 32-bit limits.
我使用了 bigint,因为这个 ID 可能超过 32 位整数的范围。

When calculating huge factorials, switching from int to bigint prevents overflow and keeps the results accurate.
在计算非常大的阶乘时,从 int 换成 bigint 可以避免溢出并保持结果准确。

发音 Pronunciation (IPA)

/ˈbɪɡˌɪnt/

词源 Etymology

bigintbig integer 的缩写/合成写法:big(大的)+ int(integer 的常用缩写,整数)。它属于计算机领域的术语,随“任意精度整数(arbitrary-precision integer)”需求而普及。

相关词 Related Words

文学/作品中的用例 Literary Works

  • ECMAScript® 2020 Language Specification(规范中引入并描述 BigInt 数值类型)
  • JavaScript: The Definitive Guide(涉及大整数/BigInt 与数值处理的相关内容)
  • Programming Language Pragmatics(讨论数值表示与大整数等语言实现概念)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1849 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 02:46 · PVG 10:46 · LAX 18:46 · JFK 21:46
♥ Do have faith in what you're doing.