this post was submitted on 03 Dec 2023
418 points (100.0% liked)

196

16557 readers
1876 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 11 months ago* (last edited 11 months 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.