Skip to content

Commit

Permalink
Update language-specification.md
Browse files Browse the repository at this point in the history
  • Loading branch information
smolkaj committed May 6, 2024
1 parent 2afa175 commit 081abfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/language-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ These well-formedness constraints are shown in the table above and essentially
say that the entries are valid [according to the P4Runtime standard].
This includes *canonicity constraints* that rule out distinct but semanitcally
equivalent representations of table entries. For example, using
[P4's mask notation], the ternaries `10 &&& 10` and `11 &&& 11` are equivalent,
[P4's mask notation], the ternaries `10 &&& 10` and `11 &&& 10` are equivalent,
as both match the set of bitvectors `{10, 11}`. But only `10 &&& 10` is legal
[according to the P4Runtime standard], which says that masked-off bits must be
0. In general, this is captured by the constraint `value & !mask == 0`.
Expand Down

0 comments on commit 081abfd

Please sign in to comment.