You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of section 3 (Bytes), there is the following quote:
There are also attributes for bitwise operations: ★and, ★or, ★xor, ★not, ★left, and ★right.
Which implies that not is the bitwise complement operation, and that and/or/xor also operate bitwise.
For example, not00-00 would be FF-FF.
However, on the same page, towards the end of subsection 4.2 (Bool), there is the following
The not attribute is a Boolean inversion. Attributes and, or, xor are logical conjunction, disjunction, and exclusive disjunction of the object itself with an a array of other Boolean values.
Which implies that these operations are logical (meaning they operate only on true/false values).
For example, not of 00-00 would be 00-01.
Which of these variants is the correct one?
And as an additional question, what is meant by "an a array of other Boolean values"? Do these operations accept an array as an argument or just one other value?
The text was updated successfully, but these errors were encountered:
At the end of section 3 (Bytes), there is the following quote:
Which implies that
not
is the bitwise complement operation, and thatand
/or
/xor
also operate bitwise.For example,
not
00-00
would beFF-FF
.However, on the same page, towards the end of subsection 4.2 (Bool), there is the following
Which implies that these operations are logical (meaning they operate only on
true
/false
values).For example,
not
of00-00
would be00-01
.Which of these variants is the correct one?
And as an additional question, what is meant by "an a array of other Boolean values"? Do these operations accept an array as an argument or just one other value?
The text was updated successfully, but these errors were encountered: