Accurate sum and dot product

被引:222
作者
Ogita, T
Rump, SM
Oishi, S
机构
[1] Waseda Univ, Japan Sci & Technol Agcy, CREST, Shinjuku Ku, Tokyo 1698555, Japan
[2] Tech Univ Hamburg, Inst Informat 3, D-21071 Hamburg, Germany
关键词
accurate summation; accurate dot product; fast algorithms; verified error bounds; high precision;
D O I
10.1137/030601818
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Algorithms for summation and dot product of floating-point numbers are presented which are fast in terms of measured computing time. We show that the computed results are as accurate as if computed in twice or K-fold working precision, K >= 3. For twice the working precision our algorithms for summation and dot product are some 40% faster than the corresponding XBLAS routines while sharing similar error estimates. Our algorithms are widely applicable because they require only addition, subtraction, and multiplication of floating-point numbers in the same working precision as the given data. Higher precision is unnecessary, algorithms are straight loops without branch, and no access to mantissa or exponent is necessary.
引用
收藏
页码:1955 / 1988
页数:34
相关论文
共 44 条
  • [1] A distillation algorithm for floating-point summation
    Anderson, IJ
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1999, 20 (05) : 1797 - 1806
  • [2] [Anonymous], 1977, DATA ANAL LINEAR REG
  • [3] *ANSI IEEE, 1985, 7541985 ANSIIEEE
  • [4] BABUSKA I, 1969, INFORMATION PROCESSI, V68, P11
  • [5] Bailey D.H., FORTRAN 90 DOUBLE DO
  • [6] A Fortran 90-based multiprecision system
    Bailey, DH
    [J]. ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1995, 21 (04): : 379 - 387
  • [7] BOHLENDER G, 1977, IEEE T COMPUT, V26, P621, DOI 10.1109/TC.1977.1674894
  • [8] Bohlender G., 1991, Proceedings. 10th IEEE Symposium on Computer Arithmetic (Cat. No.91CH3015-5), P22, DOI 10.1109/ARITH.1991.145529
  • [9] Representable correcting terms for possibly underflowing floating point operations
    Boldo, S
    Daumas, M
    [J]. 16TH IEEE SYMPOSIUM ON COMPUTER ARITHMETIC, PROCEEDINGS, 2003, : 79 - 86
  • [10] Clarkson K. L., 1992, Proceedings 33rd Annual Symposium on Foundations of Computer Science (Cat. No.92CH3188-0), P387, DOI 10.1109/SFCS.1992.267751