Floating-point Numbers are not real Numbers.
浮点数并不是实数。
Don't use floating point Numbers for exact values.
不要用浮点值表示精确值。
The same is not true for floating-point numbers.
但浮点数则不是这样。
Why fabs giving weird result while comparing floating point Numbers?
为什么工厂给怪异的结果在比较浮点数?
Floating point Numbers can reach much higher values but their precision not.
浮点数可以达到更高的值,但其精度。
Other ranges can be used, but in my experience floating point numbers work best.
您也可以使用其它的范围的数,但是我的经验告诉我,浮点数是最有效的。
Be aware, however, that the comparison of floating-point Numbers is very strict.
但要注意,对浮点数字的比较是非常严格的。
Trace point Numbers appear consecutively in a chronologically formatted output file.
跟踪点号按照年月顺序出现在格式化的输出文件中。
There are differences in the definition of floating-point Numbers and long variable types.
浮点型数字和长变量类型的定义是有差异的。
Supported variables include integers, floating point Numbers, strings, arrays, and objects.
支持的变量包括整型、浮点型的数字、字符串、数组和对象。
IEEE 754 represents floating point Numbers as base 2 decimal Numbers in scientific notation.
IEEE 754用科学记数法以底数为2的小数来表示浮点数。
Floating point Numbers are not exact, and manipulating them will result in rounding errors.
浮点数不是精确值,所以使用它们会导致舍入误差。
If you need to represent fixed point Numbers, such as dollars and cents, use BigDecimal instead.
如果需要表示定点数(譬如,几美元和几美分),则使用BigDecimal。
The fundamental types are characters, and integers and floating point Numbers of several sizes.
其基本类型为几种大小的字符、整数和浮点数类型。
The next two—float and double—represent floating-point numbers, again with different dynamic ranges.
随后的两种——float和double,代表了浮点型数,同样具有不同的动态范围。
The non-ordered nature of NaN adds further opportunities for error when comparing floating point numbers.
NaN的无序性质使得在比较浮点数时更容易发生错误。
You can pad both integer and floating-point numbers with leading zeros by using a custom numeric format string.
通过使用自定义数字格式字符串,可以用前导零填充整数和浮点数。
For floating-point Numbers, you place a decimal as the separator between the whole part of the number and the fraction.
对于浮点数,您将在整数部分和小数部分之间放置小数点。
In Part 2, I'll explore the functions more designed for operating on floating point Numbers as opposed to abstract real Numbers.
在第2部分,我将探讨专为操作浮点数(与抽象实数相反)而设计的函数。
In Listing 2, I reopen the Numeric class (which handles both fixed and floating-point Numbers) to add the gram and pound methods.
在清单2中,我重新打开了numeric类(其处理固定和浮点数字)以便添加gram和pound方法。
Floating point Numbers are best reserved for values such as measurements, whose values are fundamentally inexact to begin with.
浮点数最好用来表示象测量值这类数值,这类值从一开始就不怎么精确。
A secure pseudorandom bit sequence generator is designed and the bit sequences are then transformed into floating point Numbers.
设计了一种密码安全的伪随机比特序列发生器,再将比特序列转化为浮点数序列。
Color changes are another common alteration. Values for color are floating point Numbers from 0 to 1, 0 being black, 1 being white.
修改颜色是另一个常见的操作。颜色值是一个从0到1的浮点数,0代表黑色,1代表白色。
Mathematically precise calculations can be thrown severely askew by small round-off errors caused by finite-precision floating-point Numbers.
由有限精度浮点数字引起的很小的舍入错误就会严重歪曲数学精度计算。
HTTP content negotiation uses short floating point numbers to indicate the relative importance, or weight, of various negotiable parameters.
HTTP内容协商使用短浮点数来表示各种可协商参数的相对重要性(或权重)。
You can also use a fixed-precision decimal type, or cast floating-point Numbers to a fixed-precision decimal type before you work with them.
您也可以使用固定精度的十进制类型,或者在使用浮点数之前将它们强制转换为固定精度的十进制类型。
Similarly, on platforms without native support for fixed-point or double-precision floating-point Numbers, implementations must emulate these types.
类似地,在没有本地定点或双精度浮点数支持的平台上,实现必须模拟这些类型。
To sort data type there are many, there is an integer, floating-point Numbers, all kinds of structure (based on a comparison of the properties) and so on.
要排序的数据类型有很多种,有整数、浮点数、各种结构(根据某个属性进行比较)等。
To analyze the rounding error of calculator floating-point Numbers arithmetic operation is the foundation of numerical calculation method's error analysis.
对计算机浮点数算术运算的舍入误差进行分析,是对数值计算方法作误差分析的基础。
This article proposes a quick sort method based on the machine code of floating point numbers, which can sort the floating point numbers distributed at random.
本文提出一种可对任意分布的浮点数进行排序的快速排序方法,它基于浮点数的机内编码,具有速度快、实现简单、实用的特点。
应用推荐