The left and right values in the macro must be of the same type—float or double.
这个宏中的左值和右值必须是相同类型的 — 即要么是float,要么是 double。
The memory space of a float or double value is limited, so some values cannot be represented.
浮点或者双精度浮点的内存空间是限定了的,所以某些值不能被表示。
These classes allow the various geometric shapes to be constructed with coordinates of either double or float precision.
这些类允许各种几何图形建立在双精度或浮点精度的坐标系上。
Recall from previous articles that Scala treats functions as values, just as it does any other value in the language, like Int, Float, or Double.
回忆前几期文章,Scala将函数作为值处理,就像处理语言中的其他值一样,例如Int、Float或Double。
The Mandelbrot set is infinitely deep and complex at all scales, but a float or a double can go only so deep before losing the ability to distinguish adjacent points.
Mandelbrot集合在各个级别上都是非常细微和复杂的,但是float或double可以在失去区分相邻点的能力之前达到这个细微的级别。
If the argument is NaN or Inf, then the result will be 128 for a float and 1024 for a double.
如果参数为NaN或Inf,则对应的浮点数和双精度数的结果分别是128和1024。
If you specify the precision to be a value of 23 or less, the FLOAT (val) is equivalent to a REAL; if the precision is between 24 and 53, the FLOAT (val) is equivalent to a DOUBLE.
如果指定了小于等于23的精度值,FLOAT (val)就等价于REAL;如果精度在24和53之间,那么FLOAT (val)等价于DOUBLE。
If you specify the precision to be a value of 23 or less, the FLOAT (val) is equivalent to a REAL; if the precision is between 24 and 53, the FLOAT (val) is equivalent to a DOUBLE.
如果指定了小于等于23的精度值,FLOAT (val)就等价于REAL;如果精度在24和53之间,那么FLOAT (val)等价于DOUBLE。
应用推荐