Home → Magazine Archive → November 1972 (Vol. 15, No. 11) → Algorithms to reveal properties of floating-point... → Abstract

Algorithms to reveal properties of floating-point arithmetic

By Michael A. Malcolm

Communications of the ACM, Vol. 15 No. 11, Pages 949-951

Two algorithms are presented in the form of Fortran subroutines. Each subroutine computes the radix and number of digits of the floating-point numbers and whether rounding or chopping is done by the machine on which it is run. The methods are shown to work on any “reasonable” floating-point computer.

The full text of this article is premium content


No entries found