From: Ben Pfaff Date: Tue, 6 May 2025 18:59:30 +0000 (-0700) Subject: work on manual X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cced9ed790528307460022fc7ecf99736d2a4559;p=pspp work on manual --- diff --git a/rust/doc/src/language/expressions/operators.md b/rust/doc/src/language/expressions/operators.md index 23e232abe1..f7e3d019e0 100644 --- a/rust/doc/src/language/expressions/operators.md +++ b/rust/doc/src/language/expressions/operators.md @@ -63,6 +63,20 @@ information. True if `A` is false. If the operand is missing, then the result is missing. +The overall truth table for the binary logical operators is: + +|`A`|`B`|`A AND B`|`A OR B`| +|-|-|-|-| +|false|false|false|false| +|false|true|false|true| +|true|false|false|true| +|true|true|true|true| +|false|missing|false|missing| +|true|missing|missing|true| +|missing|false|false|missing| +|missing|true|missing|true| +|missing|missing|missing|missing| + ## Relational Operators The relational operators take numeric or string operands and produce