pith. machine review for the scientific record. sign in

arxiv: 1410.7176 · v2 · submitted 2014-10-27 · 💻 cs.MS · cs.NA

Recognition: unknown

Efficient implementation of elementary functions in the medium-precision range

Authors on Pith no claims yet
classification 💻 cs.MS cs.NA
keywords implementationatanelementaryfunctionslibraryseriestaylorachieve
0
0 comments X
read the original abstract

We describe a new implementation of the elementary transcendental functions exp, sin, cos, log and atan for variable precision up to approximately 4096 bits. Compared to the MPFR library, we achieve a maximum speedup ranging from a factor 3 for cos to 30 for atan. Our implementation uses table-based argument reduction together with rectangular splitting to evaluate Taylor series. We collect denominators to reduce the number of divisions in the Taylor series, and avoid overhead by doing all multiprecision arithmetic using the mpn layer of the GMP library. Our implementation provides rigorous error bounds.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.