V2EX  ›  英汉辞典

Boolean

定义 Definition

“Boolean”指“布尔的;布尔值(逻辑值)”,用于表示只有两种可能状态的逻辑取值,通常是 true/false(真/假)1/0。常见于数学逻辑与计算机编程中。(也可指“布尔代数”相关的事物。)

发音 Pronunciation

/ˈbuːliən/

例句 Examples

A boolean value is either true or false.
布尔值要么为真,要么为假。

The program uses a boolean flag to determine whether the user is logged in, and it changes the interface accordingly.
该程序使用一个布尔标志来判断用户是否已登录,并据此调整界面。

词源 Etymology

“Boolean”来源于19世纪英国数学家 George Boole(乔治·布尔) 的姓氏。布尔提出了用代数方法处理逻辑推理的思想,后来发展为“布尔代数(Boolean algebra)”,成为现代计算机逻辑电路与编程条件判断的重要基础。

相关词 Related Words

文学作品举例 Literary Works

  • George Boole, An Investigation of the Laws of Thought(1854):提出并系统阐述布尔逻辑/布尔代数思想,是“Boolean”一词所指领域的奠基性著作。
  • Claude E. Shannon, A Symbolic Analysis of Relay and Switching Circuits(1938):将布尔代数与电路开关系统联系起来,推动“布尔”思想在工程与计算机领域的经典应用。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1477 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 8ms · UTC 16:37 · PVG 00:37 · LAX 08:37 · JFK 11:37
♥ Do have faith in what you're doing.