Цитата:Нет, не один. Я это заметил сразу, просто ввязываться в эту тему не хотел. Всё яблоко раздора в этом самом беззнаковом умножении. А дело в том, что на Западе (на котором этот спор-то и начался) считается, что беззнаковое умножение более приоритетно, чем умножение с точкой (или крестиком). Пруф: [www.cyberforum.ru]Инструктор
Я один вижу ошибку в примере - отсутствие какого либо знака действия перед первой скобкой?
Цитата:См. также аглицкую википедию: [en.wikipedia.org]Забугорный математик
If you write “2(1+2)”, it is different from “2*(1+2)”, because it omits the multiplication sign. It suggests that these factors “stick together”, this operation has higher precedence than others within the same precedence level. Using this observation the result is still 1. Many scientific calculators are also using this rule.
Finally, mathematicians etc. who are working with formulas generally treat the division as if it was fraction, therefore they put the “2(2+1)” part into the denominator, automatically. For mathematicians, the formula is inconsistent, but the contradiction can be resolved, and the result is 1.
Bottom line: Since there’s a heated debate about the result, let’s accept those opinion who are expert of this field. The practice of the mathematicians say that this formula should be interpreted as “6 / (2 * (2 + 1))”, so the result is 1.
Disclaimer: my degree is programmer-mathematician, I learned math in uncountable hours at uni.
Цитата:wikipedia
However, in some of the academic literature, multiplication denoted by juxtaposition (also known as implied multiplication) is interpreted as having higher precedence than division, so that 1 ? 2x equals 1 ? (2x), not (1 ? 2)x. For example, the manuscript submission instructions for the Physical Review journals state that multiplication is of higher precedence than division with a slash,[8] and this is also the convention observed in prominent physics textbooks such as the Course of Theoretical Physics by Landau and Lifshitz and the Feynman Lectures on Physics.