怎样得到单精度数呢 float a; a=5/3; 则a结果为1.0 而 float a; a=5.0/3;或者a=5/3.0; 则a结果1.66666662。 等号右边的运算数都为整数时,得到结果未必是准确的单精度值。