2015 · 14 citations · 16 references
ComputingComputer ScienceMathematicsAlgorithmsCompilersTheory Of ComputationHardware AccelerationLookup TablesNumerical AlgorithmsNumerical AnalysisNumerical IntegrationArithmetic Circuit EvaluationComplexity Of Numerical AlgorithmsComputational PrecisionError BoundsFinite-precision Arithmetic CircuitsFloating-point ArithmeticPrecisionPrecision Scaling
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.
16
Laurent Fousse, Guillaume Hanrot, Vincent Lefèvre et al. · ACM Transactions on Mathematical Software · 2007 · 915 citations
Elementary functions: algorithms and implementation
Choice Reviews Online · 1998 · 542 citations
Florent de Dinechin, Arnaud Tisserand · IEEE Transactions on Computers · 2005 · 188 citations · Full text