浮点或者双精度浮点的内存空间是限定了的,所以某些值不能被表示。
The memory space of a float or double value is limited, so some values cannot be represented.
您可以读取被定义为“标量”的整型、浮点型和字符串值。
You can read integer, floating point, and string values that are all defined as' scalar 'objects.
随着数字变大,它们之间的浮点数就会越来越少。
SOAP定义简单的数据类型:字符串、整数、浮点数以及负整数(NegativeInteger)。
SOAP defines simple data types: String, Int, Float, and NegativeInteger.
注意浮点乘法没有这样的问题。
Note that floating-point multiplication doesn't have these issues.
signed/unsigned关键字是声明非浮点类型必需的。
The signed/unsigned keyword is required for non-floating point declarations.
它只是返回一个表示温度的浮点数。
All it does is return a floating point number representing the temperature.
它有单独的浮点寄存器,可以从低端工作站扩展到高端工作站。
It had separate floating point registers and could scale from the low - to the high-end workstations.
为什么需要用单独的宏进行浮点数比较?
Why do you need separate macros for floating point comparisons?
区别在于一个事实:计算机中使用的浮点数据类型无法包含每个实数。
The difference lies in the fact that floating-point data types used in computers can't hold every real number.
注意,在本例中,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.
综合起来,浮点数是这样表示的:sign*mantissa*2exponent 。
Putting these together, a float is interpreted as sign * mantissa * 2exponent.
这个响应会抛出一个异常,因为温度的值不是浮点类型—它实际上是一个字符串。
This response should throw an exception because the temperature value is not a float type — it is actually a string.
IEEE 754用科学记数法以底数为2的小数来表示浮点数。
IEEE 754 represents floating point Numbers as base 2 decimal Numbers in scientific notation.
刷新时间的单位为秒,但可能是浮点值。
这些标记包括处理重定位、目录(tableofcontents)大小、浮点选项、位调整等等的编译标记。
These include compile flags dealing with relocation, table of contents sizes, floating point options, bit alignment, and so on.
在未来的文章中,我计划仔细研究一下浮点工作负载。
In future articles, I plan to take a closer look at floating point workloads.
要修复此问题,用户可下载上述版本的漏洞补丁,或是为处理浮点数使用额外标志重编译PHP 程序。
To fix the problem, users can download patches for those versions or recompile PHP with additional flags for handling floating point digits.
这项技术特别有助于发现使用浮点值、转换率,以及与数据类型相关长度的问题。
This technique can especially help in finding problems with floating-point values, conversion ratios, and lengths associated with data types.
为了让它们正常工作,显卡必须支持深度缓存(INTZ格式)或浮点型的渲染纹理。
Graphics card must support either native depth buffer (INTZ format) or floating point render textures in order for them to work.
许多设计用来读取浮点数的例程可能会允许“NaN”(非数字)这样的值。
Many routines designed to read floats may allow values such as "NaN" (not a number).
对大多数值来说,这个循环都挺管用的,但一般来说用浮点数来测试等式是很危险的。
For most values of a this works fine, but in general it is dangerous to test float equality.
最好将浮点运算保留用作计算本来就不精确的数值,譬如测量。
It is best to reserve the use of floating point arithmetic for calculations that involve fundamentally inexact values, such as measurements.
这些类允许各种几何图形建立在双精度或浮点精度的坐标系上。
These classes allow the various geometric shapes to be constructed with coordinates of either double or float precision.
回归测试中最棘手的检查之一是浮点比较。
One of the trickiest checks in regression setups is doing floating point comparisons.
支持的变量包括整型、浮点型的数字、字符串、数组和对象。
Supported variables include integers, floating point Numbers, strings, arrays, and objects.
fdlibm :一个适用于支持IEEE 754浮点数的机器的Cmath库,可在 Netlib数学软件库中找到。
fdlibm: A C math library for machines that support IEEE 754 floating-point, is available from the Netlib mathematical software repository.
例如,可以定义始终是浮点数的Price元素或具有字符串子元素FirstName和LastName的PersonName元素。
For example, you could define a Price element that is always a floating-point number or a PersonName element that has FirstName and LastName sub-elements that are both strings.
随后的两种——float和double,代表了浮点型数,同样具有不同的动态范围。
The next two—float and double—represent floating-point numbers, again with different dynamic ranges.
更常用的同义词是FLOAT类型,它拥有任意的浮点精度,可以在声明数据类型时指定,例如float (val)。
A more general synonym is the float type, which has an arbitrary floating-point precision that you specify when declaring the data type as float (val).
应用推荐