this post was submitted on 12 Dec 2023
843 points (96.6% liked)
Memes
45690 readers
1664 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What is your source for the priority of the / operator?
i.e. why do you say 6 / 2 * 3 is unambiguous?
Every source I’ve seen states that multiplication and division are equal priority operations. And one should clarify, either with a fraction bar (preferably) or parentheses if the order would make a difference.
Same priority operations are solved from left to right. There is not a single credible calculator that would evaluate "6 / 2 * 3" to anything else but 9.
But I challenge you to show me a calculator that says otherwise. In the blog are about 2 or 3 dozend calculators referenced by name all of them say the same thing. Instead of a calculator you can also name a single expert in the field who would say that 6 / 2 * 3 is anything but 9.
Will you accept wolfram alpha as credible source?
https://mathworld.wolfram.com/Solidus.html
The link references "a/bc" not "a/b*c". The first is ambiguous, the second is not.