浮点或者双精度浮点的内存空间是限定了的,所以某些值不能被表示。
The memory space of a float or double value is limited, so some values cannot be represented.
如果任意一个操作数是浮点型的,则所有操作数都将按浮点型进行计算,并且结果也是浮点型的。
If any of the operands is a float, then all operands are evaluated as floats, and the results are floats.
浮点数:一个浮点数。
So both of these stories involve floating point values, but only in this case am I actually allocating memory.
所以这两个故事都涉及到浮点类型,但是只有那样我们才能真正地分配到内存。
And as you might expect, I'm going to then try and see if I can convert that into a float.
正如你希望的我要试着把他们转化为浮点数,等一等。
C So here I'm declaring a variable called c, and I'm pretty much translating the formula from the slide using the characters on my keyboard to a floating point value.
这里我声明了一个变量,然后我把那个幻灯片上的公式,用键盘上的字符翻译成了,浮点数值。
应用推荐