Floating point is a very similar concept, except that computers use binary rather than decimal as their base.
浮点是一个非常类似的概念,除了计算机使用二进制而不是十进制作为基础。
The storage required for a DECIMAL data type is potentially much larger than it is for a normal floating-point data type.
DECIMAL数据类型需要的存储空间通常要比浮点数据类型大得多。
IEEE 754 represents floating point Numbers as base 2 decimal Numbers in scientific notation.
IEEE 754用科学记数法以底数为2的小数来表示浮点数。
You can display output as octal, hex, decimal, floating point, ASCII with backslash escapes, or named characters (nl for newline, ht for horizontal TAB, etc.).
您可以将输出显示为八进制、十六进制、十进制、浮点数、包含反斜杠转义符的ASCII,或者指定的字符(nl表示换行、ht表示水平制表符,等等)。
It also has the first decimal floating-point unit integrated in silicon.
它还首次在芯片中集成了十进制浮点单元。
Editing floating-point values can result in minor inaccuracies because of decimal-to-binary conversion of fractional components.
编辑浮点值时,由于要将小数部分从十进制转换为二进制,因此所得的结果可能存在微小误差。
The integer part, the optional decimal point and the optional fraction part form the significant part of the floating literal.
整数部分,可选的小数点,以及可选的小数部分组成浮点文字量的有效部分。
For floating-point Numbers, you place a decimal as the separator between the whole part of the number and the fraction.
对于浮点数,您将在整数部分和小数部分之间放置小数点。
In most programming languages, Numbers that include a decimal fraction are called floating-point Numbers, which are used to approximate real Numbers in mathematics.
在大部分的编程语言中,包含了小数点的数字称之为浮点数,可以用它来表示数学中的实数。
Floating-point decimal values generally do not have an exact binary representation.
一般而言,十进位浮点数值并没有精确的二进位表示式。
The issue with floating point comparisons is that of precisions—f1 and result*result start differing from a couple of places after the decimal point.
浮点比较的问题在于精度 —f1和result*result在小数点后面的几位不一致。
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.
浮点数和小数不象整数一样“循规蹈矩”,不能假定浮点计算一定产生整型或精确的结果,虽然它们的确“应该”那样做。
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表示作为输入。
Floating-point instructions and decimal floating-point instructions.
浮点指令和十进制浮点指令。
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.
您也可以使用固定精度的十进制类型,或者在使用浮点数之前将它们强制转换为固定精度的十进制类型。
Derby provides support for real Numbers in several formats: single-precision floating-point, double-precision floating-point, and an exact representation decimal, as presented in Table 2.
Derby对实数提供了多种格式的支持:单精度浮点、双精度浮点以及准确的算术表示,如表2所示。
Derby provides support for real Numbers in several formats: single-precision floating-point, double-precision floating-point, and an exact representation decimal, as presented in Table 2.
Derby对实数提供了多种格式的支持:单精度浮点、双精度浮点以及准确的算术表示,如表2所示。
应用推荐