Abstract
Sometimes computational errors are easy to understand once all the uses, as an operand, of each computed value are known. Directed graphs provide a notational device for displaying these dependencies. Simple graph arguments show that gradual underflow improves the performance of certain computational procedures but not others. (Some procedures require deeper analysis.) Here we use graph arguments to show that if computer arithmetic is augmented with a “denormal zero”, then errors from gradual underflow are always comparable to the uncertainty due to rounding error, though the comparison involves a factor that can grow exponentially with the number of arithmetic operations. Thus for procedures where existence of a denormal zero is unnecessary and the exponential growth is impossible, gradual underflow diminishes the noise from underflow to a level that can safely be ignored.
Zusammenfassung
Manchmal lassen sich Berechnungsfehler leicht verstehen, wenn erst einmal für jeden berechneten Wert alle Operationen bekannt sind, die mit ihm durchgeführt werden. Mit Hilfe gerichteter Graphen lassen sich diese Abhängigkeiten aufzeigen. Einfache graphentheoretische Argumente zeigen, daß allmählicher Underflow die Ausführung gewisser Rechenvorgänge verbessert, von anderen dagegen nicht. (Einige Rechenvorgänge erfordern eingehendere Untersuchungen.) Hier verwenden wir graphentheoretische Argumente, um zu zeigen, daß bei Ausstattung der Computer-Arithmetik mit einem „denormal zero” die Fehler durch allmählichen Underflow stets mit der Unsicherheit durch Rundungsfehler vergleichbar sind, obwohl dieser Vergleich einen Faktor einschließt, der exponentiell mit der Anzahl der arithmetischen Operationen wachsen kann. Für Berechungen, bei denen ein „denormal zero” unnötig und der exponentielle Anstieg unmöglich ist, vermindert allmälicher Underflow die Verfälschung durch Underflow auf ein Maß, das vernachlässigt werden kann.
Similar content being viewed by others
References
Coonen, J.: Underflow and denormalized numbers. Computer14, 75–87 (1981).
Coonen, J., Kahan, W., Palmer, J., Pittman, T., Stevenson, D.: A proposed standard for binary floating-point arithmetic. Computer14, 51–62 (1981).
Demmel, J.: Effects of underflow on solving linear systems. IEEE Floating-Point Subcommittee Working Document P754/80-4.21 (1980). (Subcommitte working documents still in print may be obtained from David Hough, PO Box 561, Cupertino, CA 95015, U.S.A.)
Johnson, D., Miller, W., Minnihan, B., Wrathall, C.: Reducibility among floating-point graphs. JACM26, 739–760 (1979).
Kahan, W.: Why do we need a floating-point arithmetic standard? Comm. Assoc. Comput. Mach. (to appear, 1981).
Miller, W., Wrathall, C.: Software for Roundoff Analysis of Matrix Algorithms. Academic Press 1980.
Wrathall, C., Miller, W.: Clearability of floating-point graphs. (Submitted, 1981.)
Author information
Authors and Affiliations
Additional information
This work was partially supported by the National Science Foundation under Grant No. MCS78-12288.
Rights and permissions
About this article
Cite this article
Miller, W. A remark on gradual underflow. Computing 27, 217–225 (1981). https://doi.org/10.1007/BF02237979
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02237979