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.
可能会有一些优势比浮点数运算整数运算,做如下解释。
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).
我只添加了psyco .bind (main)这一行,而不是添加一个总的psyco . jit调用,因为main函数确实要循环多次(但是仅利用了最少的整数运算)。
Some processors can handle unsigned integer arithmetic considerably faster than signed (this is also good practice, and helps make for self-documenting code).
一些处理器在处理无符号整型数要比处理符号整型数快得多,这也是一个好的习惯,有利于代码的自我文档化(self- documenting)。
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.
注意,在本例中,sum必须被初始化为一个显式的浮点值;否则,所有后续计算都将使用整数运算计算。
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.
因此,提供64位的寻址和整数运算能力必须要修改现有数据类型的绑定或映射,或者向c语言中添加新的数据类型。
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.
在使用算术表达式时,还需要记住一点,在版本7.2之前,Vim只支持整数运算。
Remember, integer arithmetic is much faster than floating-point arithmetic, as it can usually be done directly by the processor, rather than relying on external FPUs or floating point math libraries.
记住,整形数运算要比浮点数运算快得多,因为处理器可以直接进行整型数运算,浮点数运算需要依赖于外部的浮点数处理器或者浮点数数学库。
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.
处理器将数据流解释为要执行的指令,它拥有一个或多个处理单元,用于执行整数和浮点运算以及更高级的计算。
SIGFPE - Arithmetic exception, integer divided by 0, or floating-point exception.
SIGFPE—算术异常、整数被零除或浮点异常。
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.
此函数从请求中提取一个32位整数,并使用它中的算术运算来计算一个动态缓冲区的大小。
In arithmetic the positive integer and the positive fraction were sufficient for all requirements.
在算数中,曾经正整数和正分数能够满足所有的需求。
The usual arithmetic conversion rules state that first you perform the integer promotions on any integer operands.
常用算术转换规则规定在任意整数运算时首先执行整型提升。
As you probably suspect, the integer conversion rank is used to define the rules for expression evaluation. Those rules are named the integer promotions and the usual arithmetic conversions.
就如你可能猜想的那样,整数转换优先级用于定义表达式求值的规则。这些规则叫做整型提升和常用算术转换。
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.
对感兴趣区域(ROI)进行无损压缩编码过程中,采用整数小波变换然后进行算术编码的方案降低运算复杂度、保证图像质量。
Every large odd integer can be represeted as the sum of three primes which take from arithmetic progressions.
解决了三素数定理推广到素数取自算术级数的问题。
In this paper, we propose a new implementation of bit level arithmetic coding by use of integer additions and shifts.
本文提出了一种利用整数加法和移位实现二值算术编码的方法。
A differential arithmetic is proposed for simplifying the observational equation as well as for avoiding the computation of the unknown integer constant.
提出相邻历元间差分算法,大大简化了观测方程,同时避免积分常量的计算。
We turn the problem into an integer programming. An arithmetic to the problem is given. Finally we give an example with the arithmetic.
我们将其转化成整数规划问题,并给出一个求解算法。最后给出一个实例对算法加以说明。
We turn the problem into an integer programming. An arithmetic to the problem is given. Finally we give an example with the arithmetic.
我们将其转化成整数规划问题,并给出一个求解算法。最后给出一个实例对算法加以说明。
应用推荐