27165, "damianmoz", "[Documentation]: Expressions", "2025-04-25T12:19:37Z"
I noticed in
https://chapel-lang.org/docs/language/spec/expressions.html
That it says
a + b * pow(2,y) expands to a * b << y
Should not that plus sign be a multiplication.
Also, I would write the earlier sentence
This enables using the shift operators as shorthand
for multiplication/division by powers of 2, ...
This enables shift operators to be used as shorthand for multiplication/division of integers by powers of 2, ...
Apologies if I am being too pedantic.