舰船电子工程2024,Vol.44Issue(7) :161-164,174.DOI:10.3969/j.issn.1672-9730.2024.07.034

基于浮点计算程序的复合蜕变测试方法研究

Research on Composite Metamorphic Testing Method Based on Floating-point Calculation Program

邱舒婷 吴诗帆 刘春光
舰船电子工程2024,Vol.44Issue(7) :161-164,174.DOI:10.3969/j.issn.1672-9730.2024.07.034

基于浮点计算程序的复合蜕变测试方法研究

Research on Composite Metamorphic Testing Method Based on Floating-point Calculation Program

邱舒婷 1吴诗帆 1刘春光1
扫码查看

作者信息

  • 1. 中国人民解放军91550部队 大连 116021
  • 折叠

摘要

IEEE754标准下的浮点数在计算时总是伴随着舍入,增加了浮点计算结果不精确甚至出现异常的可能性,并且在实际应用中,无论采用什么样的计算方法、设置多高的精度,都无法完全避免浮点计算异常对计算结果的干扰.论文提出用蜕变测试技术来测试遥测数据处理程序中遇到的这种不可测的FPC程序,针对这类FPC程序的特征构造复合蜕变关系来缓解Oracle问题,以此提高浮点计算的准确性,进一步确保软件的可靠性.

Abstract

The calculation of floating-point numbers under the IEEE754 standard is always accompanied by rounding,which increases the possibility of inaccurate or even abnormal floating-point calculation results,and in practice,no matter what calcula-tion method is used and how high the precision is set,the interference of floating-point calculation abnormalities on the calculation results cannot be completely avoided.In this paper,it is proposed to use metamorphic testing techniques to test such untestable FPC programs encountered in telemetry data processing programs,and composite metamorphic relations are constructed to alleviate the oracle problem for the characteristics of such FPC programs,so as to improve the accuracy of floating-point calculations and further ensure the reliability of the software.

关键词

浮点计算/FPC程序/复合蜕变关系/蜕变测试

Key words

floating-point calculation/FPC program/composite metamorphic relations/metamorphic testing

引用本文复制引用

出版年

2024
舰船电子工程
中国船舶重工集团公司第709研究所 中国造船工程学会 电子技术学术委员会

舰船电子工程

CSTPCD
影响因子:0.243
ISSN:1627-9730
参考文献量4
段落导航相关论文