Accession Number:

ADA190559

Title:

Expressing Mathematical Subroutines Constructively.

Descriptive Note:

Memorandum rept.,

Corporate Author:

MASSACHUSETTS INST OF TECH CAMBRIDGE ARTIFICIAL INTELLIGENCE LAB

Personal Author(s):

Report Date:

1987-11-01

Pagination or Media Count:

16.0

Abstract:

The typical subroutines that compute sinx and expx bear little resemblance to our mathematical knowledge of these functions they are composed of concrete arithmetic expressions that include many mysterious numerical constants. Instead of programming these subroutines conventionally, we can express their construction using symbolic ideas such as periodicity and Taylor series. Such an approach has many advantages the code is closer the mathematical basis of the function, less vulnerable to errors, and is trivially adaptable to various precisions. Keywords Constructive programming Bessel functions.

Subject Categories:

  • Computer Programming and Software
  • Operations Research

Distribution Statement:

APPROVED FOR PUBLIC RELEASE