A perfect square root routine

  • Authors:
  • E. E. McDonnell

  • Affiliations:
  • I.P. Sharp Associates, Inc., 220 California Ave., Palo Alto, CA

  • Venue:
  • APL '86 Proceedings of the international conference on APL
  • Year:
  • 1986

Quantified Score

Hi-index 0.00

Visualization

Abstract

To characterize a much larger effort, the design and implementation of a square root routine for IPSA APL is described. The routine is perfect in the sense that, if the result can be represented exactly, the exact result is given. If the result cannot be represented exactly, it is rounded to the nearest representable floating point number. The use of APL in designing and testing this routine is emphasized.