首页> 外文会议>IEEE Symposium on Computer Arithmetic >The Classical Relative Error Bounds for Computing Sqrt(a^2 + b^2) and c / sqrt(a^2 + b^2) in Binary Floating-Point Arithmetic are Asymptotically Optimal
【24h】

The Classical Relative Error Bounds for Computing Sqrt(a^2 + b^2) and c / sqrt(a^2 + b^2) in Binary Floating-Point Arithmetic are Asymptotically Optimal

机译:用于计算二进制浮点算术中的SQRT(A ^ 2 + B ^ 2)和C / SQRT(A ^ 2 + B ^ 2)的经典相对误差界限是渐近的最佳的

获取原文

摘要

We study the accuracy of classical algorithms for evaluating expressions of the form √ (a + b) and c/√ (a + b)in radix-2, precision-p floating-point arithmetic, assuming that the elementary arithmetic operations ±, x, /, '/ are rounded to nearest, and assuming an unbounded exponent range. Classical analyses show that the relative error is bounded by 2u+O(u) for √ (a + b), and by 3u+O(u) for c/√ (a + b), where u = 2 is the unit roundoff. Recently, it was observed that for √ (a + b) the O(u) term is in fact not needed [1]. We show here that it is not needed either for c√ (a + b). Furthermore, we show that these error bounds are asymptotically optimal. Finally, we show that both the bounds and their asymptotic optimality remain valid when an FMA instruction is used to evaluate a + b.
机译:我们研究了典型算法的准确性,用于评估√(A + B)和C /△(A + B)中的表达式,Precision-P浮点算术,假设基本算术运算±,x ,/,'/舍入到最近,并假设无绑定的指数范围。经典分析表明,相对误差由2u + O(u)界限为√(a + b),并为c / n(a + b)的3u + o(u)界定,其中U = 2是单位圆周OFF 。最近,观察到√(a + b)o(u)术语实际上是不需要的[1]。我们在这里展示它不需要C 1(A + B)。此外,我们表明这些错误界限是渐近最佳的。最后,我们表明,当FMA指令用于评估A + B时​​,界限和它们的渐近最优性仍然有效。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号