|国家预印本平台
首页|浮点运算错误计算原因

浮点运算错误计算原因

%Sources of errorsReasons of miscalculation in floating point arithmetic

中文摘要英文摘要

%有效位数计算模式与%以及十进制数与二进制数之间的%表示误差。计算机不时会出现错误计算。然而, 究其原因, 普遍认为,表示误差是导致计算错误的主要原因。本文指出, 事实上, 还有另外一个原因:固定长度的有效位数计算模式。在此模式下, 所有中间运算均保留相同长度的有效位数, 这样组合得到的同样长度位数的计算结果不稳定。更进一步,%本文提出“错数”理论, 从而针对一类表达式, 可用来计算其结果中错误的有效数字个数.针对单变元函数, 本文提出“错数”理论, 揭示了变元与函数值两者的错误有效数字之间的关系, 从而可用来%预先获得计算函数值的错误有效数字个数。综合利用上述理论, 并将定性与定量方法相结合, 通过剖析计算过程, 本文阐明了一些著名错误计算案例的错误计算原因。

%The mode of significant digits and representation errors.As we all know, there are often miscalculations in floating-point arithmetic. And generally agreed that representationerrors are major causes. The paper points out that, in fact, there is another reason: the mode of fixed-precision computation, inwhich all intermediate calculations are kept the same number of significant digits, so the combined results are unstable. Furthermore, we find out the relationship between the significant digits of argument and that of univariate function value, and the concept of "Error Number" and its calculation method are proposed, which can be used to obtain the number of contaminateddigits of the function value. Finally, based on the above theory, combined the qualitative and quantitative methods, through the analysisof the calculation process, the paper reveals the reasons for the erroneous computation of some well-known cases.

赵世忠

数学

浮点运算有效数字表示误差舍入误差计算误差错数计算模式% 中文关键词要能反映文章的基本观点避免广义词。第一个关键词为该文内容所属二级学科名称

floating point arithmeticsignificant digitsrepresentation errorsrounding errorscalculation errorError Numbercomputing mode

赵世忠.浮点运算错误计算原因[EB/OL].(2017-07-21)[2025-08-18].http://www.paper.edu.cn/releasepaper/content/201707-86.点此复制

评论