ID:2472573
 
Resolved
BYOND Version:512
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 74.0.3729.169
Applies to:DM Language
Status: Resolved (512.1471)

This issue has been resolved.
Descriptive Problem Summary:

The documentation lists & ^ | as having equal precedence. This is incorrect, as if this were true:

1 ^ 4 & 4


would be equal to 4:

(1 ^ 4) = 5
(5 & 4) = 4

Instead, you get the result of 5.

That's because this operation is running instead:

(4 & 4) = 4
(1 ^ 4) = 5


Again, per reference:

(1 ^ 4 & 4) == ((1^4)&4)


But in reality:

(1 ^ 4 & 4) == (1 ^ (4 & 4))
Lummox JR resolved issue