this post was submitted on 03 Dec 2023
420 points (99.8% liked)
196
16597 readers
1733 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
But explicit multiplication is part of the parenthesis, so still comes before division or exponent
The parentheses step only covers expressions inside parentheses. That's 2 + 2 in this case. The times-2 part is outside the parentheses so it's evaluated in a different step.
No, it doesn't