Expressing Mathematical Subroutines Constructively
Author(s)
Roylance, Gerald
DownloadAIM-999.ps (1.391Mb)
Additional downloads
Metadata
Show full item recordAbstract
The typical subroutines that compute $\\sin(x)$ and $\\exp(x)$ 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 to the mathematical basis of the function, less vulnerable to errors, and is trivially adaptable to various precisions.
Date issued
1987-11-01Other identifiers
AIM-999
Series/Report no.
AIM-999
Keywords
mathematical subroutines