【24h】

Program transformation for numerical precision

机译:数值精度的程序转换

获取原文
获取原文并翻译 | 示例

摘要

This article introduces a new program transformation in order to enhance the numerical accuracy of floating-point computations. We consider that a program would return an exact result if the computations were carried out using real numbers. In practice, roundoff errors due to the finite representation of values arise during the execution. These errors are closely related to the way formulas are evaluated. Indeed, mathematically equivalent formulas, obtained using laws like associativity, distributivity, etc., may lead to very different numerical results in the computer arithmetic. We propose a semantics-based transformation in order to optimize the numerical accuracy of programs. This transformation is expressed in the abstract interpretation framework and it aims at rewriting pieces of numerical codes in order to obtain results closer to what the computer would output if it used the exact arithmetic.
机译:本文介绍了一种新的程序转换,以提高浮点计算的数值精度。我们认为,如果使用实数进行计算,则程序将返回准确的结果。实际上,在执行过程中会由于值的有限表示而产生舍入错误。这些错误与公式的计算方式密切相关。确实,使用诸如关联度,分布度等定律获得的数学上等效的公式可能会导致计算机算术中的数值结果完全不同。为了优化程序的数值精度,我们提出了一种基于语义的转换。这种转换在抽象解释框架中表达,它的目的是重写数字代码,以便获得与计算机使用精确算法时输出的结果更接近的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号