V2EX  ›  英汉辞典

Integer

释义 Definition

整数:没有小数部分的数,包括负整数、零和正整数(如 -3、0、7)。在计算机与数学语境中常用于表示“整型”数值。(另有“完整的/整体的”之意较少见。)

发音 Pronunciation (IPA)

/ˈɪn.tɪ.dʒər/(美式常见)
/ˈɪn.tɪ.dʒə/(英式常见)

例句 Examples

An integer has no decimal part.
整数没有小数部分。

The program stores the user's age as an integer to avoid rounding errors in calculations.
程序把用户的年龄以整数形式存储,以避免计算中的四舍五入误差。

词源 Etymology

integer 来自拉丁语 integer,意为“完整的、未被触碰的(whole, untouched)”,与 “完整性/不被破坏” 的概念相关;后来在数学中引申为“完整的数”,即不含分数或小数的数。

相关词 Related Words

文学作品中的用例 Literary Works

  • 乔治·欧威尔《一九八四》(Nineteen Eighty-Four)中出现数学与算术表达(如“二加二等于四”),常以“整数/整数量”语境出现。
  • 赫尔曼·梅尔维尔《白鲸》(Moby-Dick)等作品中常见 “a whole number / whole” 等表达,与“整数”概念在语义上相近;“integer”本词在文学中更多见于科普、随笔与技术性写作。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1036 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 7ms · UTC 18:33 · PVG 02:33 · LAX 10:33 · JFK 13:33
♥ Do have faith in what you're doing.