The eq and ne seen here are value comparison operators.
这里的eq和ne都是值比较运算符。
However, all the logical and comparison operators consistently return the value 1 for true.
然而,所有逻辑和比较运算符都全部返回值1,表示真。
You can use value comparison operators for inequality with any type of data that has an order, such as the time-oriented types.
不等值比较运算符可用于任何有序的数据类型,比如和时间有关的类型。
This example also shows the new value comparison operators (see the next section for more details), and an IfExpr nested within a ForExpr.
这个例子还用到了新的值比较运算符详见下一节和嵌套在ForExpr中的IfExpr。
Notice that the codepoints-to-string example also uses two of the new XPath value comparison operators: lt (less than) and gt (greater than).
请注意,codepoints-to-string的例子还用到了两个新的XPath值比较运算符:lt(小于)和gt(大于)。
Note also that the comparison operators for "less than" and "greater or equal to" inside the XSL: if statement are also escaped to comply with XML rules.
还应注意,xsl:if中的“小于”和“大于或等于”比较操作符也需要转义,以遵从xml规则。
The new value comparison operators will report an error if either operand in the comparison contains more than one value, so using them expedites detection of the error.
如果比较的一个操作数包含多个值,新的值比较运算符将报告错误,因此使用这些运算符可以迅速有效地检测错误。
The logical operators have lower precedence than the individual comparison operators, which makes sense because the comparison has to be evaluated before the logical operator can be evaluated.
逻辑运算符的优先级低于单独的比较运算符,这一点意义重大,因为必须先计算比较运算符,然后才能计算逻辑运算符。
Like the previous set of test operators, comparison test operators are a handy way to perform error checking or to test values against another value.
与前一组测试操作符一样,比较测试操作符是执行错误检查或根据另一个值测试值的简便方法。
Another set of test operators is called comparison test operators.
另一组测试操作符称为比较测试操作符。
You use the same format on comparison test operators as other operators.
可以按照与其他操作符相同的格式使用比较测试操作符。
This isn't a very large number in comparison to the number of devices connected to the mobile phone network, which is why mobile operators are likely to be among the first major deployments of IPv6.
与连接到移动电话网络的庞大设备数量相比,这根本不算多,这也是为什么移动运营商很可能率先部署IPv6的原因。
Operators allow you to perform arithmetic, comparison, concatenation, or assignment of values.
使用运算符可以执行算术、比较、串联或赋值操作。
There are mathematical, comparison, logical, and reference operators.
有数学、比较、逻辑和引用运算符等。
The arithmetic and concatenation operators have the order of precedence described in the following section, and all have greater precedence than the comparison, logical, and bitwise operators.
算术和串连运算子优先顺序如下节所述,其优先顺序都高于比较运算子、逻辑运算子和位元运算子。
So the only thing you changed is adding another operator and (possibly) slowing down loop a little (AFAIR comparison is slower than bit operators).
所以你唯一改变的是添加另一个操作符和(可能)循环减慢一点(拖欠的比较是慢于操作符)。
So the only thing you changed is adding another operator and (possibly) slowing down loop a little (AFAIR comparison is slower than bit operators).
所以你唯一改变的是添加另一个操作符和(可能)循环减慢一点(拖欠的比较是慢于操作符)。
应用推荐