float类型,double类型比较

float类型为单精度,后面有效小数位为6-7位;

double类型为双精度,后面有效小数位15-16位;

猜你喜欢

转载自blog.csdn.net/aaassslll147/article/details/81113382