运算次序 Order of operations
在数学和计算机科学中,运算次序(也称为运算顺序、运算子优先级)是指决定在表达式中的哪一运算子首先被运行的规则。
比如,在四则运算中,一般有先乘除后加减的规定。就是说在2 + 3 × 4这样的式子中,按规定会先对3和4作乘法,得出12,然后再把2和12加起来,最后就得出14。
单词 | BOMDAS |
释义 |
BOMDAS
中文百科
运算次序 Order of operations(重定向自BOMDAS)
在数学和计算机科学中,运算次序(也称为运算顺序、运算子优先级)是指决定在表达式中的哪一运算子首先被运行的规则。 比如,在四则运算中,一般有先乘除后加减的规定。就是说在2 + 3 × 4这样的式子中,按规定会先对3和4作乘法,得出12,然后再把2和12加起来,最后就得出14。
英语百科
Order of operations 运算次序(重定向自BOMDAS)
In mathematics and computer programming, the order of operations (or operator precedence) is a collection of rules that define which procedures to perform first in order to evaluate a given mathematical expression. For example, in mathematics and most computer languages, multiplication precedes addition. Thus, in the expression 2 + 3 × 4, the answer is 14 (not 20). Brackets, ( and ), { and }, or [ and ] — which have their own rules — can indicate an alternate order or reinforce the default order to avoid confusion, thus the preceding expression could be changed to (2 + 3) × 4 to produce 20, or 2 + (3 × 4) to produce 14 (the default if there are no brackets). |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。