Re:Dennis Ritchie on the priorities of && || vs. == etc. (1982)
by pcwalton on Friday January 05, 2024 @06:06PM
(#38886286)
Yeah, | is technically x + y + x*y over GF(2) (this is the Boolean ring to Boolean algebra relation [1]). The GP is still a good way to remember the precedence though.
[1]: https://en.wikipedia.org/wiki/Boolean_ring#Relation_to_Boole...