SIAM Journal on Scientific Computing · 2005 · 377 citations · 24 references
ComputingComputer ScienceMathematicsAlgorithmsNumber TheoryScientific ComputingAlgorithm AnalysisNumerical AlgorithmsNumerical AnalysisNumerical IntegrationNumerical Linear AlgebraTiming AnalysisComplexity Of Numerical AlgorithmsComputational PrecisionFloating-point ArithmeticFloating-point Error AnalysisMulti-digit MultiplicationMultiply-accumulate UnitsPrecision
The paper presents fast algorithms for floating‑point summation and dot product. The methods use only basic floating‑point operations in the data’s working precision, avoiding higher precision, branching, or low‑level access. The results are as accurate as if computed in twice or K‑fold working precision (K ≥ 3), and for twice the working precision the algorithms run about 40 % faster than XBLAS routines while maintaining similar error estimates.
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\ge 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.
24