Further analysis of Kahan’s algorithm for the accurate computation of $2\times 2$ determinants

  • Jeannerod C
  • Louvet N
  • Muller J
9Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

We provide a detailed analysis of Kahan's algorithm for the accurate computation of the determinant of a 2 × 2 matrix. This algorithm requires the availability of a fused multiply-add instruction. Assuming radix-β, precision-p floating-point arithmetic with β even, p = 2, and barring overflow or underflow we show that the absolute error of Kahan's algorithm is bounded by (β +1)/2 ulps of the exact result and that the relative error is bounded by 2u with u = 1 2 β1-p the unit roundoff. Furthermore, we provide input values showing that i) when β/2 is odd-which holds for 2 and 10, the two radices that matter in practice-the absolute error bound is optimal; ii) the relative error bound is asymptotically optimal, that is, for such input the ratio (relative error)/2u has the form 1 - O(β-p). We also give relative error bounds parametrized by the relative order of magnitude of the two products in the determinant, and we investigate whether the error bounds can be improved when adding constraints: When the products in the determinant have opposite signs, which covers the computation of a sum of squares, or when Kahan's algorithm is used for computing the discriminant of a quadratic equation. © 2013 American Mathematical Society Reverts.

References Powered by Scopus

Accuracy and stability of numerical algorithms

2467Citations
N/AReaders
Get full text

Accurate floating-point summation part I: Faithful rounding

142Citations
N/AReaders
Get full text

Design of the IBM RISC System/6000 floating-point execution unit

136Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Handbook of floating-point arithmetic: Second edition

56Citations
N/AReaders
Get full text

The mathematical-function computation handbook: Programming using the MathCW portable software library

28Citations
N/AReaders
Get full text

Error Analysis of Some Operations Involved in the Cooley-Tukey Fast Fourier Transform

14Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Jeannerod, C.-P., Louvet, N., & Muller, J.-M. (2013). Further analysis of Kahan’s algorithm for the accurate computation of $2\times 2$ determinants. Mathematics of Computation, 82(284), 2245–2264. https://doi.org/10.1090/s0025-5718-2013-02679-8

Readers' Seniority

Tooltip

Researcher 2

50%

Lecturer / Post doc 1

25%

PhD / Post grad / Masters / Doc 1

25%

Readers' Discipline

Tooltip

Computer Science 3

50%

Chemistry 1

17%

Physics and Astronomy 1

17%

Engineering 1

17%

Save time finding and organizing research with Mendeley

Sign up for free