在包含浮点运算的程序中寻找击中可疑区间的输入值
Searching input values hitting suspicious Intervals in programs with floating-point operations
AI总结:
本文提出一种基于约束的方法,用于在浮点运算误差可能引发不当行为的过估计区域中寻找测试用例,以提高程序验证的准确性。
摘要:
包含浮点计算的程序通常源自数学模型或旨在实数语义下设计。然而,对于给定的输入,浮点数计算的路径可能与相同计算在理想化实数语义下的路径不同。在验证此类程序时,常见的做法是估计浮点计算相对于相同操作序列在理想化实数语义下的准确性。然而,最先进的工具计算的是由浮点运算引入的误差的上界估计。因此,程序可能表现出完全不恰当的行为,但开发者并不知道这些行为是否会实际发生。在本文中,我们介绍了一种新的基于约束的方法,用于在过估计区域中搜索测试用例,该区域中的浮点运算误差可能导致不当行为。
英文摘要:
Programs with floating-point computations are often derived from mathematical models or designed with the semantics of the real numbers in mind. However, for a given input, the computed path with floating-point numbers may differ from the path corresponding to the same computation with real numbers. A common practice when validating such programs consists in estimating the accuracy of floating-point computations with respect to the same sequence of operations in an ide-alized semantics of real numbers. However, state-of-the-art tools compute an over-approximation of the error introduced by floating-point operations. As a consequence, totally inappropriate behaviors of a program may be dreaded but the developer does not know whether these behaviors will actually occur, or not. In this paper, we introduce a new constraint-based approach that searches for test cases in the part of the over-approximation where errors due to floating-point arithmetic would lead to inappropriate behaviors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。