虽然有无限多的整数,在大多数项目的结果可以存储在32位整数计算。
Although there are infinitely many integers, in most programs the result of integer computations can be stored in 32 bits.
这些系统的整数计算性能比其他所有机器都出色,还把浮点计算性能提高了10倍。
The unique factor of these systems were that they outperformed all other machines in integer-compute performance and also by a factor of 10 in floating-point performance.
我们将用几个步骤开发一个简单的整数计算器服务,它接受SOAP、HTTP - GET或HTTP - POST。
We will develop a simple integer Calculator service in a few steps that accepts SOAP, HTTP-GET, or HTTP-POST.
兑换率以每260积分可兑换HK$1并以整数计算(须为HK$1之倍数),客户最高可以积分兑换该签账最多一半金额。
With the conversion rate of every 260 Bonus Points to HK$1(multiple of HK$1), Cardholder can offset maximum 50% of the Eligible Retail Transaction amount with Bonus Points.
不过,为了进行计算,我们需要将这些数位视为整数。
However, to make calculations, we need to treat the digits as integers.
此函数从请求中提取一个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.
这就像开发一样简单,因为除了实现业务逻辑之外我们什么都没做(计算整数因子)。
This is as easy to develop as it could be, as we did not do anything other than implement our business logic (calculating the factors of an integer).
显然,我们需要消除换行并转换为整数,然后才能进行有用的计算。
Clearly, we need to get rid of the newlines and covert to integers before we can do any useful calculations.
Fibonacci 数列是一种整数序列,可以使用以下算式计算各个 Fibonacci值:F(n) = F(n-1) + F(n-2)。
The Fibonacci numbers are an integer sequence where for a given number, the Fibonacci value can be calculated using: F(n) = F(n-1) + F(n-2).
这个键是从0到31之间的一个整数,31是所设计的最大值,当前各种计算机中的最大值都比这个最大值要小。
This key is an integer between zero and 31 (the architected maximum; the maximum is smaller on current machines).
第一步是计算容纳这个整数值(INTEGER结构的内容部分)所需要的字节数。
The first step is to calculate the number of bytes required to hold the integer value (the content part of the integer structure).
浮点数和小数不象整数一样“循规蹈矩”,不能假定浮点计算一定产生整型或精确的结果,虽然它们的确“应该”那样做。
Floating point and decimal Numbers are not nearly as well-behaved as integers, and you cannot assume that floating point calculations that "should" have integer or exact results actually do.
此聚合获取一列中的所有句子并计算字数,返回一个包含该列的字数的整数值。
This aggregation takes all the sentences in a column and counts the words, returning an integer value containing the number of words for that column.
它在各种各样的计算机系统上运行,尤其擅长于涉及任意长度整数和小数、图、矩阵和多项式代数的算术。
It runs on a variety of computer systems and is especially good at arithmetic involving arbitrary-length integers and fractions, graphics, and matrix and polynomial algebra.
您可以在第一个字符上添加加号(+)来区分一个计算得到的域与整数。
You can distinguish a calculated field from an integer by the inclusion of the plus sign (+) as the first character.
与此相反,长整数类型的精度不受限,仅计算机内存对它有影响。
In contrast, the long integer type has unlimited precision, subject to the memory limitations of your computer.
在这个讨论中,使用简单的基于整数的计算器让我们可以把注意力放在工具上,而不必担心额外的复杂性。
In this discussion, using a simple integer-based calculator lets us focus on the tools without having to worry about additional complexity.
不过,在科学和工程应用方面(您不能确定计算的结果是否为整数),则需要加倍小心。
However, in scientific and engineering applications where you're not sure if the calculation will land on an integer, you need to be a lot more careful.
当将字符串作为布尔值使用时,将首先把字符串转换为整数,然后再计算真(非0)或假(0)。
When a string is used as a Boolean, it is first converted to an integer, and then evaluated for truth (non-zero) or falsehood (zero).
Computationsin CommutativeAlgebra (CoCoA)是另一个免费计算机代数系统,用于处理超大型整数、有理数和多项式。
Computations in Commutative algebra (CoCoA) is another free computer algebra system for working with very large integers, rational Numbers, and polynomials.
表示想要的对象在序列中的索引的整数(或计算出整数的表达式)。
An integer (or an expression that evaluates to an integer) that represents the index of the desired object in the series.
注意,在本例中,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.
当需要迭代大量整数时,xrange方法更适用,因为它不会创建极大的list,那样会消耗大量计算机内存。
The xrange method is preferred when you need to iterate over a large number of integers because it won't create the full list, which could consume a large quantity of your computer's memory.
如果你计算[1,2,3],你得到一个列表对象,整个列表对象的整个值是一个整数序列。
If you evaluate [1, 2, 3], you get a list object whose value is a sequence of integers.
说明:该MF C程序可以进行长整数的四则,阶乘,幂的计算。重要的是在除法上做了性能的优化。
The MFC program can be carried long integer four, factorial, power calculations. It is important to do the division of the performance optimization.
如果你没有合适的小数数据类型可用,一个替代的方案是使用整数。比如,在计算钱数时把单位转化为分。
If you have no decimal data type available, an alternative is to work with integers, e. g. do money calculations entirely in cents.
而对于计算机科学家来说,他们所感兴趣的95%也许更多的是离散性的,比如,关于整数的数学。
For computer scientists 95% or more of the interesting math is discrete: i. e. math on the integers.
该算法采用更适合无功优化特点的分组整数实数混合编码方式,并采用映射法计算适应度函数。
A grouped, integer and real number mixed coding method is applied in this algorithm. The mapped-method is adopted to calculate the fitness function.
表达式,计算为包含环境变量名称的字符串,或对应于环境字符串表中环境字符串的数字顺序的整数。
Expression that evaluates either a string containing the name of an environment variable, or an integer corresponding to the numeric order of an environment string in the environment-string table.
应用推荐