Boolean is the term used to denote computational truth values (as opposed to the truth values of propositions. The two standard boolean values are true and false. There are a number of standard operators defined over the booleans that primarily have impacts on program control flow.
Name | Notation | Truth Table | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
and | && |
|
|||||||||||||||
or | || |
|
|||||||||||||||
not | ~ |
|