... ┏数值型━┳━整数型:byte short int long ┏基本数据类型━━┫ ┗━浮点型:float double ┃ ┣字符型:char ...
基于7个网页-相关网页
Double Float 浮点型 ; 双浮标 ; 双浮点 ; 复浮子
intshort long float double 基本数据
short int long float double 值类型
double-float 双精度
float or 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.
这些类允许各种几何图形建立在双精度或浮点精度的坐标系上。
C-89 data types (include signed and unsigned) short, int, long, long long, float, and double.
C - 89数据类型(包括有符号和无符号)short、int、long、long long、float和double。
But one of the teaching fellas also passed long to us recently, a little real world example of what happens when you're not mindful of various data types and you're not mindful of the imprecision that's inherent in representing data in a computer, at least using a language like C and low level primitives like floats and even doubles.
最近有个助教告诉我们,一个现实世界中的例子,当你不注意各种各样的数据类型,也不注意在计算机中表示数据时,其内在的不精确性,至少在用像C语言,和float甚至double型数据时,那将会发生什么?
应用推荐