rlwhitcomb / utilities

Some of my personal utility programs
MIT License
2 stars 0 forks source link

Fix precedence of bit operations (such as "&", "|", etc.) as higher than relational operators #609

Closed rlwhitcomb closed 1 year ago

rlwhitcomb commented 1 year ago

For example:

bitset & bit != 0

currently behaves as if it were

bitset & (bit != 0)

instead of the more traditional

(bitset & bit) != 0