• Zagorath@aussie.zone
      link
      fedilink
      arrow-up
      16
      ·
      7 months ago

      Ultimately it’s ambiguous and bad. But most mathematicians (at a level higher than primary school education) use multiplication by juxtaposition—aka implicit multiplication—at a higher priority than division. BIDMAS, as you might have been taught in primary school, is an oversimplification that doesn’t even account for the possibility of juxtaposition, because you didn’t learn about that until secondary school.

      Most mathematicians would use logic that lets you arrive at the answer of “1”, while also saying it should have been written better. Brackets are cheap. Use them!

    • ShortFuse@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 months ago

      If you believe multiplication goes before division then 1. 8 / (2 * 4)

      If you believe multiplication and division are of equal importance 16. 8 / 2 * 4

      SQL, Google, and I believe C++ and HLSL would say the latter: (16)