Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: