首页> 外文期刊>Formal Methods in System Design >Enhancing the implementation of mathematical formulas for fixed-point and floating-point arithmetics
【24h】

Enhancing the implementation of mathematical formulas for fixed-point and floating-point arithmetics

机译:增强定点和浮点算术数学公式的实现

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

摘要

This article introduces some techniques to estimate and to improve the numerical quality of computations performed using different computer arithmetics. A general methodology is introduced and it is applied to the fixed-point and floating-point formats. We show how to globally measure the quality of the implementation of a formula with respect to some quality indicators. In the case of the floating-point arithmetic, the indicator measures the distance between the computer and exact results in the worst case. In the case of the fixed-point arithmetic, the indicator bounds the number of digits needed to represent all the intermediary results. Next, we show how the operations which make mostly decrease the quality of an indicator can be identified. This information helps the programmer to improve the implementation by underlying the main sources of degradation. Finally, we introduce a fully automatic expression transformation technique to rewrite a formula into a better, mathematically equivalent one. The new formula is more accurate than the original one with respect to the chosen quality indicator.
机译:本文介绍了一些估算和改进使用不同计算机算法执行的计算的数值质量的技术。介绍了一种通用方法,并将其应用于定点和浮点格式。我们展示了如何相对于某些质量指标全面衡量公式实施的质量。在浮点运算的情况下,指示器会在最坏的情况下测量计算机与精确结果之间的距离。在定点算术的情况下,该指标限制了代表所有中间结果所需的位数。接下来,我们将展示如何识别那些主要降低指标质量的操作。此信息通过使性能下降的主要根源成为基础,可以帮助程序员改善实现。最后,我们介绍了一种全自动的表达式转换技术,可以将公式重写为更好的,在数学上等效的公式。就所选质量指标而言,新公式比原始公式更准确。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号