float b = 20.0f;
赋值数字后面一定要加这个f吗
不加f的话会引入误差
f
C语言默认浮点类型是double,如果你需要float那么你的加个f#define xxxx 0.0 //double#define xxxx 0.0f //float