this post was submitted on 14 May 2026
32 points (100.0% liked)

Asklemmy

54350 readers
154 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 7 years ago
MODERATORS
 

I have seen several people saying the order operation is

  • Brackets/Parenthesis
  • Orders (roots and powers)
  • Divisions
  • Multiplications
  • Subtractions
  • Additions

But I was taught it as

  • Brackets/Parenthesis
  • Roots and powers, left to right (independently of the exact operation)
  • Divisions and multiplications, left to right (independently of the exact operation)
  • Subtractions and additions, left to right (independently of the exact operation)

So, what order were you taught and/or use today?

you are viewing a single comment's thread
view the rest of the comments
[–] WolfLink@sh.itjust.works 4 points 1 day ago

This are equivalent because the order of multiplications/divisions and the order of additions/subtractions doesn’t affect the end result.

Also in general if the order of operations in your equation isn’t clear without thinking about it you are doing it wrong and need to add some parenthesis.

Also caveat: on a computer the order of operations can matter in more detail due to floating point errors, and you may want to add extra parenthesis to control it.