Hacker News new | ask | show | jobs
by BeeOnRope 2763 days ago
The two expressions are equivalent, even under overflow. With a few exceptions (eg division, right shift) fixed size integer math follows the same associative rules as "standard math".