File:George_Boole_color.jpg · Wikimedia Commons · See Wikimedia Commons
Boolean data type
Sign in to saveAlso known as Boolean type
basic computing representation of truth and falsehood
In the Vinony graph
Within Vinony's link graph, Boolean data type is referenced by 293 other articles, and connects out to Fortran, C++ and conditional.
It is catalogued under topics including Boolean algebra, Data types and Primitive types.
Its subject is documented across 41 Wikipedia language editions.
Wikidata facts
- Named after
- George Boole
Show 4 more facts
- Stack Exchange tag
- stackoverflow.com/tags/boolean
- equivalent class
- ogp.me/#bool
- represents
- Boolean domain
- data size
- 1
Sources (2)
via Wikidata · CC0
~17 min read
Encyclopedic overview
George Boole, the data type's namesake
In computer science, the Boolean (sometimes shortened to Bool) is a data type that has one of two possible values (usually denoted true and false) which is intended to represent the two truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid-19th century. The Boolean data type is primarily associated with conditional statements, which allow different actions by changing control flow depending on whether a programmer-specified Boolean condition evaluates to true or false. It is a special case of a more general logical data type—logic does not always need to be Boolean (see probabilistic logic).
Excerpted from Wikipedia’s “Boolean data type” article, available under the CC BY-SA 4.0 licence.