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

196

667 readers
35 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
[–] 4am@lemm.ee 3 points 11 months ago (3 children)

What the fuck is the difference in implicit vs explicit? It’s the same operation, why the fuck does it matter if there is a symbol?

Multiplication comes first, then division.

[–] 0ops@lemm.ee 11 points 11 months ago

Division is a form of Multiplication, just as subtraction is a form of addition. You multiply and divide in the same step, left to right

[–] Malgas 8 points 11 months ago

No, multiplication and division are resolved from left to right in the same step. But implicit multiplication (xy, as opposed to x*y) happens first.

[–] SmartmanApps@programming.dev 1 points 7 months ago

the difference in implicit vs explicit? It’s the same operation

"implicit multiplication" isn't even a real thing in Maths, and isn't even multiplication to begin with - people use that umbrella term to either mean The Distributive Law - which is the first step is solving Brackets - or Terms, which are products, which is the result of a multiplication.

e.g. if a=2 and b=3, then...

axb=2x3 - 2 terms

ab=6 - 1 term

Multiplication comes first, then division

They can be done in either order, or even together, as long as you go left to right.