DocumentCode
1650274
Title
Efficient Implementation of Elementary Functions in the Medium-Precision Range
Author
Johansson, Fredrik
fYear
2015
Firstpage
83
Lastpage
89
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.
Keywords
process algebra; symbol manipulation; GMP library; MPFR library; Taylor series; elementary functions; elementary transcendental functions; medium precision range; multiprecision arithmetic; rectangular splitting; Algorithm design and analysis; Arrays; Libraries; Polynomials; Software; Standards; Taylor series; elementary functions; multiple precision arithmetic; rectangular splitting;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Arithmetic (ARITH), 2015 IEEE 22nd Symposium on
Conference_Location
Lyon
ISSN
1063-6889
Print_ISBN
978-1-4799-8663-7
Type
conf
DOI
10.1109/ARITH.2015.16
Filename
7203800
Link To Document