Source (Bluesky)

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 5 months ago*

No it does not. If you treat implicit multiplication (no symbol) as exactly the same precedence as explicit, it'd be 8. Sometimes people intend it to have a higher priority, especially when it's after a division sign because they're thinking about how they'd write it on paper, as a fraction. For example, you might see 1/ab instead of 1/(ab). Strictly applying PEMDAS would say 1/ab = b/a, but if that's what you meant then you probably would have written b/a instead.

If you do the implicit multiplication first, it's 0.5.

  • source
  • parent