On Wed, Apr 28, 2021 at 02:40:09PM -0400, Tom Lane wrote: > Justin Pryzby <pry...@telsasoft.com> writes: >> These look strange to me - the inner parens don't do anything. >> I wouldn't write it with 2x parens for the same reason I wouldn't write it >> with >> 8x parens. > > Agreed, but shouldn't we just drop the excess parens rather than > doubling down on useless notation?
Using a notation like ((a & b) != 0) to enforce a boolean check after the bitwise operation is the usual notation I've preferred, FWIW. Do you mean something different here? -- Michael
signature.asc
Description: PGP signature