Computing elementary functions using multi-prime argument reduction

07/06/2022
by   Fredrik Johansson, et al.
0

We describe an algorithm for arbitrary-precision computation of the elementary functions (exp, log, sin, atan, etc.) which, after a cheap precomputation, gives roughly a factor-two speedup over previous state-of-the-art algorithms at precision from a few thousand bits up to millions of bits. Following an idea of Schönhage, we perform argument reduction using Diophantine combinations of logarithms of primes; our contribution is to use a large set of primes instead of a single pair, aided by a fast algorithm to solve the associated integer relation problem. We also list new, optimized Machin-like formulas for the necessary logarithm and arctangent precomputations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/17/2021

Fast evaluation of some p-adic transcendental functions

We design algorithms for computing values of many p-adic elementary and ...
research
08/28/2007

Formally Verified Argument Reduction with a Fused-Multiply-Add

Cody & Waite argument reduction technique works perfectly for reasonably...
research
11/05/2018

Putting Fürer Algorithm into Practice with the BPAS Library

Fast algorithms for integer and polynomial multiplication play an import...
research
04/28/2019

A short note on Goppa codes over Elementary Abelian p-Extensions of F_p^s(x)

In this note, we investigate Goppa codes which are constructed by means ...
research
08/09/2021

Implementation of high-precision computation capabilities into the open-source dynamic simulation framework YADE

This paper deals with the implementation of arbitrary precision calculat...
research
02/12/2023

Numerical methods and arbitrary-precision computation of the Lerch transcendent

We examine the use of the Euler-Maclaurin formula and new derived unifor...

Please sign up or login with your details

Forgot password? Click here to reset