该算法只使用整数运算,所以具有很快的速度。
Since only integer arithmetic is used, speed of this algorithm is high.
可能会有一些优势比浮点数运算整数运算,做如下解释。
There might be some advantage to doing integer arithmetic than floating-point arithmetic, as explained below.
例如,函式(尤其是执行整数运算的函式)的效能会提升。
For example, performance improvements will be achieved for functions, especially those that perform integer operations.
常用算术转换规则规定在任意整数运算时首先执行整型提升。
The usual arithmetic conversion rules state that first you perform the integer promotions on any integer operands.
在使用算术表达式时,还需要记住一点,在版本7.2之前,Vim只支持整数运算。
When using arithmetic expressions, it's also important to remember that, until version 7.2, Vim supported only integer arithmetic. A common mistake under earlier versions was writing something like.
用大整数运算库实现两种基于环面自同构的算法,并将他们与传统的RSA算法作比较。
Have realized two kinds of algorithms with the large integer operational library in VC, and compare them with traditional RSA algorithm.
我们提出了信号多重备份的方法,解决大整数运算结构中关键信号广播带来的负载问题。
We propose a Signal Multi-Backup strategy to resolve the problem of large loads that are caused by the signal broadcasting of large-bit operation structures.
本文分析了用双字节定点整数运算进行插值计算所能达到的计算精度,并列举了两个计算实例。
This paper analyses the computing accuracy of linear interpolation obtained with double bytes integer operation, which is illustrated by two examples.
注意,在本例中,sum必须被初始化为一个显式的浮点值;否则,所有后续计算都将使用整数运算计算。
Note that, in this example, sum must be initialized to an explicit floating-point value; otherwise, all the subsequent computations will be done using integer arithmetic.
该算法在插补过程中只进行整数运算,每次插补计算可以得到两个进给步的三坐标轴进给脉冲增量。
The algorithm can get two forward steps' pulse increments in three axes every interpolation step, and uses only integer operations.
计算机代数系统的处理对象虽然是符号公式,但也需要整数运算,并且需要的是无限精度整数运算。
Although the objects processed by a computer algebra system are usually symbolic formulae, it is necessary for the system to operate with integers and even with infinite integers.
因此,提供64位的寻址和整数运算能力必须要修改现有数据类型的绑定或映射,或者向c语言中添加新的数据类型。
Thus, providing 64-bit addressing and integer arithmetic capabilities involves changing the bindings or mappings of the existing data types, or adding new data types to the language.
为解决状态观测器中采用传统浮点数运算时,因自动下溢出产生误差的问题,提出全整数运算算法提高控制精度。
To avoid the cumulative error problem caused by auto-overflow in state observer floating operation, the whole-integer operation was proposed to improve the control precision.
在PCNN的具体实现中,网络被强制为单循环网络,通过简化模型、阈值查找表、整数运算等技巧,降低了PCNN的时间复杂度。
For the specific implementation of PCNNs, a PCNN was forced to be a single pass network. And simplified model, look-up threshold table, and integer operation were used to decrease the time complexity.
我只添加了psyco .bind (main)这一行,而不是添加一个总的psyco . jit调用,因为main函数确实要循环多次(但是仅利用了最少的整数运算)。
Call, I added only the line psyco.bind (main), since the main function does loop a number of times (but only makes minimal use of integer arithmetic).
此函数从请求中提取一个32位整数,并使用它中的算术运算来计算一个动态缓冲区的大小。
This function takes a 32-bit integer from the request, and USES it in an arithmetic operation that calculates the size of a dynamic buffer.
处理器将数据流解释为要执行的指令,它拥有一个或多个处理单元,用于执行整数和浮点运算以及更高级的计算。
A processor interprets a stream of data as instructions to execute; it has one or more processing units that perform integer and floating-point arithmetic as well as more advanced computations.
要进行组合,只需存储已扫描的运算符的值,就象对整数所进行的操作一样。
To mulitiplex, simply store away the scanned operator's value, exactly as you did for integers.
下一个UDF在给定的两个整数值之间执行EXLUSIVE OR运算,这两个值已经被转换成二进制形式
The next UDF performs EXLUSIVE OR operation between two given integer values as translated to binary expressions
当您使用to运算符迭代各个整数时,上下文item(2.0中的上下文item)是未定义的。
As you use the to operator to iterate through various integers, the context item (it's the context item in 2.0) is undefined.
其次,我们从前面可以看到,指针可以和整数进行相加或相减运算。
Second, we have already observed that a pointer and an integer may be added or subtracted.
在这种情况下你最好的选择是使用绝对值做模运算符时如果你想基本整数的除法。
Your best bet in situations like this is to operate on absolute values when doing modulo operators if you want basic integer division.
本文提出一种新的算法,它是从开关函数最小项集合所对应的整数集出发,通过对整数进行算术运算,从而求得接近最小的两级与一或表达式。
An algorithm for such purpose, quite different from any others so far known, is here presented on the basis of arithmetic operations on integers, which correspond to the minterms of the function.
通过模糊集合运算与算子变换把模糊数学模型最终转化为一个0-1整数规划问题。
Then, the fuzzy set-covering model is transformed to a 0-1 integer planning problem through fuzzy set operation and operator transformation.
对感兴趣区域(ROI)进行无损压缩编码过程中,采用整数小波变换然后进行算术编码的方案降低运算复杂度、保证图像质量。
In the process of compressing the ROI, to decrease the complexity of computation and ensure the quality of the image, integer wavelets transform and arithmetic algorithm are used.
静态规划建立了混合整数规划模型,利用基于线性规划换基运算的支路交换法有效地求解该模型。
The static planning constructs the mixed integer programming model . A branch exchange technique based on the change base of linear programming solves the model effectively.
另外一个方法就是用格式运算符,也就是百分号%。在用于整数的时候,百分号%是取余数的运算符。但当第一个运算对象是字符串的时候,百分号%就成了格式运算符了。
An alternative is to use the format operator, %. When applied to integers, % is the modulus operator. But when the first operand is a string, % is the format operator.
另外一个方法就是用格式运算符,也就是百分号%。在用于整数的时候,百分号%是取余数的运算符。但当第一个运算对象是字符串的时候,百分号%就成了格式运算符了。
An alternative is to use the format operator, %. When applied to integers, % is the modulus operator. But when the first operand is a string, % is the format operator.
应用推荐