注意,在本例中,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.
因此,提供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.
计算机代数系统的处理对象虽然是符号公式,但也需要整数运算,并且需要的是无限精度整数运算。
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.
该算法只使用整数运算,所以具有很快的速度。
Since only integer arithmetic is used, speed of this algorithm is high.
常用算术转换规则规定在任意整数运算时首先执行整型提升。
The usual arithmetic conversion rules state that first you perform the integer promotions on any integer operands.
用大整数运算库实现两种基于环面自同构的算法,并将他们与传统的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.
该算法在插补过程中只进行整数运算,每次插补计算可以得到两个进给步的三坐标轴进给脉冲增量。
The algorithm can get two forward steps' pulse increments in three axes every interpolation step, and uses only integer operations.
为解决状态观测器中采用传统浮点数运算时,因自动下溢出产生误差的问题,提出全整数运算算法提高控制精度。
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.
通过模糊集合运算与算子变换把模糊数学模型最终转化为一个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 "atomic" algorithm performs decoding process using Fourier transformation only once and the integral Fourier transformation works without floating operation.
静态规划建立了混合整数规划模型,利用基于线性规划换基运算的支路交换法有效地求解该模型。
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.
处理器将数据流解释为要执行的指令,它拥有一个或多个处理单元,用于执行整数和浮点运算以及更高级的计算。
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.
其次,我们从前面可以看到,指针可以和整数进行相加或相减运算。
Second, we have already observed that a pointer and an integer may be added or subtracted.
RSA算法是目前被认为可以实现安全通信的理想的公钥密码体制之一,其主要操作实际上是一系列基本的大整数模乘运算。
RSA algorithm is considered as one of the relatively safe crypto-system, and the multiplication of large integer is the key operation in fact.
椭圆曲线密码体制中,最耗时的运算是倍点运算也就是椭圆曲线上的点与一个整数的乘法运算。
The operation consume most time is multiplication of a point on the elliptic curve with an integer in the system, which was called multiple point operation.
本文提出一种新的算法,它是从开关函数最小项集合所对应的整数集出发,通过对整数进行算术运算,从而求得接近最小的两级与一或表达式。
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.
也就是说,我们可精确表示任意大小的整数值,同时在运算 过程中不会丢失任何信息。
This means that you can accurately represent integral values of any size without losing any information during operations.
表达式必须有整数类型并且只能包括整数常量,字符常量,以及定义了的运算符。
Expressions must have integral type and can include only integer constants, character constants, and the defined operator.
这些公钥密码算法的关键操作为大整数模幂乘操作与椭圆曲线标量乘法操作,均属于计算密集型运算。
In these public key cryptographic algorithms, the kernel operations are modular exponentiation of multi-precision integer and elliptic curve scalar multiplication, which both are computing intensive.
为了提高加法器的运算速度,提出了一种新型并行整数加法算法——桶形整数加法算法。
To accelerate the adder, a new parallel integer addition algorithm - carry barrel adder algorithm was proposed.
另外一个方法就是用格式运算符,也就是百分号%。在用于整数的时候,百分号%是取余数的运算符。但当第一个运算对象是字符串的时候,百分号%就成了格式运算符了。
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.
您可以在一个运算式里混合数值整数型别和浮点型别。
You can mix numeric integral types and floating-point types in an expression.
电网故障诊断优化模型可将诊断问题表示成求极值的0-1整数规划问题,从而可通过严密的数学运算来确知故障设备。
A model for optimizing fault diagnosis for power systems is formulated as a 0-1 integer programming problem. The fault equipment can be determined by means of refined mathematical manipulation.
电网故障诊断优化模型可将诊断问题表示成求极值的0-1整数规划问题,从而可通过严密的数学运算来确知故障设备。
A model for optimizing fault diagnosis for power systems is formulated as a 0-1 integer programming problem. The fault equipment can be determined by means of refined mathematical manipulation.
应用推荐