What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Boolean vs Bool - What's the difference?

boolean | bool |

As nouns the difference between boolean and bool

is that boolean is (boolean) while bool is (computing|programming) a boolean variable, one whose value is either true or false.

As an adjective boolean

is (boolean).

boolean

Adjective

(-)
  • Of or pertaining to the work of .
  • (logic, computing) Pertaining to data items that can have “true” and “false” (or, equivalently, respectively) as their only possible values and to operations on such values.
  • Derived terms

    * Boolean algebra * Boolean function * Boolean logic * Boolean ring * Boolean variable

    Noun

    (en noun)
  • (logic, computing) A variable that can hold a single true/false () value.
  • Synonyms

    * (Boolean variable) flag

    bool

    English

    Noun

    (en noun)
  • (computing, programming) A Boolean variable, one whose value is either true or false.
  • * 2000 , Mark A DeLoura, Game programming gems
  • The base class BitArray acts just like a normal C++ array of bools , although you are of course free to interpret the bits as integers...
  • * 2000 , Herb Sutter, Exceptional C++
  • With an automatic conversion, bools will interfere with overload resolution...
  • * 2007 , Joseph C Rattz, Pro LINQ: Language Integrated Query in C# 2008
  • Listing 7-11 shows an example where the initial data type is string, but I will obtain its value as a bool .

    Anagrams

    *