Implementing the complex arcsine and arccosine functions using exception handling
- 1 September 1997
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 23 (3) , 299-335
- https://doi.org/10.1145/275323.275324
Abstract
We develop efficient algorithms for reliable and accurate evaluatins of the complex arcsine and arccosine functions. A tight error bound is derived for each algorithm; the results are valid for all machine-representable points in the complex plane. The algorithms are presented in a pseudocode that has a convenient exception-handling facility. Corresponding Fortran 77 programs for an IEEE environment have also been developed to illustrate the practicality of the algorithms, and these programs have been tested very carefully to help confirm the correctness of the algorithms and their error bounds. The results of these tests are included in the article, but the Fortran 77 programs are not (these programs are available from Fairgrieve). Tests of other widely available programs fail at many points in the complex plane, and otherwise are slower and produce much less accurate results.Keywords
This publication has 4 references indexed in Scilit:
- Annotated Ada 95 Reference Manual.Published by Defense Technical Information Center (DTIC) ,1994
- Implementing complex elementary functions using exception handlingACM Transactions on Mathematical Software, 1994
- The enable construct for exception handling in Fortran 90ACM SIGNUM Newsletter, 1993
- Algorithm 665: Machar: a subroutine to dynamically determined machine parametersACM Transactions on Mathematical Software, 1988