this post was submitted on 03 Dec 2023
420 points (99.8% liked)

196

16597 readers
2748 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] ShortFuse@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

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)

[โ€“] SmartmanApps@programming.dev 1 points 8 months ago

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

That's not "multiplication" though - that's The Distributive Law. Multiplication refers literally to multiplication signs.