Elementary functions packages for Ada

  • Authors:
  • Robert F. Mathis

  • Affiliations:
  • 9712 Ceralene Drive, Fairfax, VA

  • Venue:
  • SIGAda '87 Proceedings of the 1987 annual ACM SIGAda international conference on Ada
  • Year:
  • 1987

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper incorporates some of the discussions by the ACM/SIGAda Working Group on Ada Numerics, the ISO/TC97/SC22/WG9 Rapporteur Group on an elementary functions package, and the Ada-Europe Ada Numerics Working Group. This is not a report from any one of those groups nor does it attempt to reflect all the discussions or potential resolutions of the issues. This paper is the author's attempt to provide information on the current thinking of these groups about a standard specification for an elementary functions package for Ada so that a broader group can assess the utility and trade-offs involved in such standard specifications and libraries.The following people have been involved in developing and influencing the ideas presented here: Jim Cody, Paul Cohen, Sandy Cohen, Ken Dritz, Brian Ford, Graham Hodgson, Jan Kok, Gil Myers, Brian Smith, Jon Squire, and Bill Whitaker. Any confusion or inaccuracies are the author's. These people represent a combination of interests in the Ada language ranging from numerical analysis to embedded application development.The SIGAda Numerics Working Group (SIGAda NUMWG) has met at the SIGAda meetings in Pittsburgh, PA (July, 1986), Charleston, WV (November, 1986), Fort Lauderdale, FL (January, 1987), and Seattle, WA (August, 1987), several times at Argonne National Laboratory near Chicago, IL and at various locations in the Washington, DC area. The Numerics Working Group of Ada-Europe has met many times on this and related topics.A number of proposals for elementary functions in Ada ([FIRTH 1982], [WHITAKER & EICHOLTZ 1982], [WITTE 1983], [SYMM, WICHMANN, KOK & WINTER 1984], [KOK & SYMM 1984], and [KOK 1987]) have been studied by the SIGAda NUMWG. These were considered along with recent work in numerical analysis about the calculation of the elementary functions and about the properties of floating point arithmetic. Various aspects of Ada's real arithmetic, type mechanism, generic packages, and library structures have also been considered as they relate to the specification and implementations of a potentially widely used package.The proposed package specification is given at the very end of the paper as a convenient reference point.