Skip to main content
Log in

A Remarkable Example of Catastrophic Cancellation Unraveled

  • Published:
Computing Aims and scope Submit manuscript

Abstract

In this paper we reinvestigate a well-known expression first published in [7], which is often used to illustrate catastrophic cancellation as well as the fact that identical output in different precisions does not imply reliability. The purpose of revisiting this expression is twofold. First, we show in Section 2 that the effect of the cancellation is very different on different IEEE 754 compliant platforms, and we unravel the underlying (hardware) reasons which are unknown to many numerical analysts. Besides illustrating cancellation, this expression also counters the common misbelief among many numerical analysts that a same program will deliver identical results on all IEEE conforming systems. Second, in Section 3 we use, illustrate and comment upon the cross-platform didactical tool Arithmetic Explorer developed at the University of Antwerp, by means of which we performed the bit level analysis of the expression evaluation under investigation on the different machines. We believe that this tool, which is freely available from the authors, can be of use to all of us teaching a first numerical analysis course.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received December 22, 1999; revised May 5, 2000

Rights and permissions

Reprints and permissions

About this article

Cite this article

Cuyt, A., Verdonk, B., Becuwe, S. et al. A Remarkable Example of Catastrophic Cancellation Unraveled. Computing 66, 309–320 (2001). https://doi.org/10.1007/s006070170028

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s006070170028

Navigation