The usage of the three logical operators (conjunction, disjunction, exclusive or) is shown in Table 4.7. In addition the results of the combination of boolean values (1:true, 0:false) are shown in Table 4.8,Table 4.9 and Table 4.10.
Description |
Format |
Example |
Conjunction |
|
"abc"=="abc" && "xyz"=="abc" (0b0) |
Disjunction |
|
"abc"=="abc" || "xyz"=="abc" (0b1) |
Exclusive or |
|
"abc"=="abc" ^^ "xyz"=="abc" (0b1) |
Table 4.8: Conjunction
Table 4.9: Disjunction
Table 4.10: Exclusive Or
|