摘要
浮点数运算存在精度、比较以及舍入误差等方面的问题,而这些问题直接影响到学生对浮点数的理解和教学案例的准确性。针对这一情况,以C语言浮点数机制为研究基础,对浮点数的存储格式、有效位数、取值范围的含义、精度与应用等方面问题进行实证研究,获得了一些有用的结果。
The floating-point operation has such problems as precision, comparison, rounding off error, which directly affect students' understanding of floating point and the accuracy of teaching cases. To tackle this situation, empirical studies, based on the float mechanism of C language, have been conducted in storage format, effective(significant)digits, numeric area, accuracy and application. Some useful results have been achieved.
关键词
浮点数
存储格式
有效位
取值范围
浮点数运算
floating point
storage format
significant digit
numeric area
floating-point operation