Because this integer point may not be as far from the origin as the relaxed solution point.
因为这个整数点距离原点的距离可能不如放松限制的解决方案点那样远。
The optimal solution would still be the integer point (2, 0), though more integer points are feasible now.
优化解决方案仍然是整数点(2,0),不过现在可行域中有更多整数点了。
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.
浮点数和小数不象整数一样“循规蹈矩”,不能假定浮点计算一定产生整型或精确的结果,虽然它们的确“应该”那样做。
You can read integer, floating point, and string values that are all defined as' scalar 'objects.
您可以读取被定义为“标量”的整型、浮点型和字符串值。
The APIs that set watch points return an integer value, which is the watch point number that was just set.
设置观察点的API将返回一个整数型值,即刚刚设置的观察点数字。
One takes a double-precision floating point as input, another takes an integer and a scale factor, and another takes a String representation of a decimal number.
其中一个构造函数以双精度浮点数作为输入,另一个以整数和换算因子作为输入,还有一个以小数的String表示作为输入。
The spatial table has a simple structure: a unique, integer column (objectid), one or more columns making up the primary key (copied from the source table), plus a single point-geometry column.
空间表的结构很简单:一个惟一的整数列(objectid),组成主键的一个或多个列(从源表复制的),以及一个点几何列。
In general supported types are Integer, Boolean, ASCII string, double-precision signed floating point number, date-time, set, list, properties.
通常支持的类型有整数、Boolean、ASCII字符串、双精度带符号浮点数、日期时间、集合、列表、属性。
You do this by zooming to an integer zoom level (an arbitrary fixed-scale experiment to see the effect of different values) and defining a point by latitude and longitude.
实现的方法是缩放到一个整数的缩放级别(可尝试一个任意的固定比例尺以便观看不同值的效果)并通过纬度和经度定义一个点。
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.
处理器将数据流解释为要执行的指令,它拥有一个或多个处理单元,用于执行整数和浮点运算以及更高级的计算。
If you need another data type such as integer, floating point, or Boolean value, you will have to parse the string using the appropriate wrapper class.
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
The standard mathematical operators, +, -, /, * are supported on both integer and floating point values, and you can mix and match floating-point and integers in calculations.
在整数和浮点数上,都支持使用标准的数学操作符(+、-、/ 和 *),可以在算式中混合使用浮点数和整数。
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.
记住,整形数运算要比浮点数运算快得多,因为处理器可以直接进行整型数运算,浮点数运算需要依赖于外部的浮点数处理器或者浮点数数学库。
For example, the C programming language has integer and floating-point types.
例如,c编程语言具有整型和浮点类型。
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.
这些系统的整数计算性能比其他所有机器都出色,还把浮点计算性能提高了10倍。
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必须被初始化为一个显式的浮点值;否则,所有后续计算都将使用整数运算计算。
Like C, Go offers a handful of primitive types. The usual Boolean, integer and floating-point types are available.
像C语言一样,Go提供了一系列的基本类型,常见的布尔,整数和浮点数类型都具备。
Your constants can be integer, character, floating-point, string, Boolean, octet or enumerated but not of type any or a user-defined type. Here are some examples.
常数可以是整数、字符、浮点数、字符串、Boolean、octet或枚举型,但不能是any类型或用户定义的类型。
But on a register-based system, the hexadecimal value is read from an integer register, not the floating point register.
但是在基于寄存器的系统中,这个16进制的值会从一个整数寄存器中读取,而不是从浮点寄存器中读取。
SIGFPE - Arithmetic exception, integer divided by 0, or floating-point exception.
SIGFPE—算术异常、整数被零除或浮点异常。
Blue includes a number of built-in types, including Numbers (which covers integer and floating point types), strings, arrays, functions, and others.
Blue包含许多内置类型,包括数字(包含整型和浮点型)、字符串、数组、函数等等。
It can search and edit any type of game data such as integer, floating point number, string and uncertain data like blood in game King of Fights.
它可以搜索和编辑任何游戏,如整数数据类型,浮点数,字符串,像在游戏打斗皇血不确定数据。
The integer portion, to the left of the decimal point, represents the date.
小数点左边的整数部分表示日期。
What happen when a floating point value is assigned to an integer variable?
当一个浮点型数据赋值给整型变量时会发生?
The net points of a plane can be mapped onto a set of integers in a one to one way based on the tree, so can any point of a plane be approximately mapped onto an integer with arbitrary accuracy.
利用该平面坐标网二叉树,把平面中的网格点一一映射到一个整数集合上,从而可以把平面中的任意点近似地映射为一个整数,而且可以任意精确,对任意平面图形图象的处理、储存和传输起着极其重要的作用。
It consists of a floating-point literal or decimal integer followed by the lower-case letter I.
它有浮点表和十进制整数跟随小写的字母i。
Palm Basic supports integer, floating point, and string variables, as well as single and multi-dimensional arrays.
并且唯一和多维数组的棕榈基本的支持整数、浮动小数点和串变量。
Palm Basic supports integer, floating point, and string variables, as well as single and multi-dimensional arrays.
并且唯一和多维数组的棕榈基本的支持整数、浮动小数点和串变量。
应用推荐