diff --git a/docs/design/expressions/arithmetic.md b/docs/design/expressions/arithmetic.md index ea05a9185969..f5e99543b283 100644 --- a/docs/design/expressions/arithmetic.md +++ b/docs/design/expressions/arithmetic.md @@ -128,7 +128,7 @@ Signed integer arithmetic produces the usual mathematical result. Unsigned integer arithmetic in `uN` wraps around modulo 2`N`. Division truncates towards zero. The result of the `%` operator is defined by -the equation `a % b == a - a / b * b`. +the equation `a % b == a - (a / b) * b`. #### Overflow and other error conditions