An elementary algorithm to evaluate trigonometric functions to high precision |
| |
Authors: | B. Tomas Johansson |
| |
Affiliation: | Department of Mathematics, EAS, Aston University, Birmingham, UK |
| |
Abstract: | Evaluation of the cosine function is done via a simple Cordic-like algorithm, together with a package for handling arbitrary-precision arithmetic in the computer program Matlab. Approximations to the cosine function having hundreds of correct decimals are presented with a discussion around errors and implementation. |
| |
Keywords: | Arbitrary-precision arithmetic Cordic algorithm Mulprec package |
|
|