int 在32位平台上面是2^32 = 2147483647
int 在64位平台上面是2^64 = 9223372036854775807
iphone5以后都是64位的
float -3.410^(-38)~3.410^38
double -1.710^(-308)~1.710^308
int 在32位平台上面是2^32 = 2147483647
int 在64位平台上面是2^64 = 9223372036854775807
iphone5以后都是64位的
float -3.410^(-38)~3.410^38
double -1.710^(-308)~1.710^308
本文标题:int float double 取值范围
本文链接:https://www.haomeiwen.com/subject/ichxsftx.html
网友评论