网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Operator precedence
释义

Operator precedence

原声例句
Mosh带你学编程

So this is all bout operator precedence, it's a very important topic and I see it quite often in Python tests. So if you're preparing for a Python test make sure to watch his tutorial one more time.

所以这都是关于运算符优先级的,这是一个非常重要的主题,我在 Python 测试中经常看到它。因此,如果您正在准备 Python 测试,请务必多看一遍他的教程。

中文百科

运算次序 Order of operations

(重定向自Operator precedence)

在数学和计算机科学中,运算次序(也称为运算顺序运算子优先级)是指决定在表达式中的哪一运算子首先被运行的规则。

比如,在四则运算中,一般有先乘除后加减的规定。就是说在2 + 3 × 4这样的式子中,按规定会先对3和4作乘法,得出12,然后再把2和12加起来,最后就得出14。

英语百科

Order of operations 运算次序

(重定向自Operator precedence)

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条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/21 7:28:15