RUS  ENG
Full version
JOURNALS // Numerical methods and programming // Archive

Num. Meth. Prog., 2023 Volume 24, Issue 2, Pages 142–151 (Mi vmp1080)

Methods and algorithms of computational mathematics and their applications

Fast calculation of the exponential function using tables

E. I. Vasilev, G. А. Ionov, M. А. Ionov

Volgograd State University

Abstract: In this paper, algorithms are described and compact software modules in the C language are presented for fast calculation of the exponential and logarithmic functions using tables for x86-64 architecture processors. The accuracy was evaluated and the performance was compared for some AMD and Intel processors. Generalization of the tabular approach has been implemented and tested for some trigonometric functions. On average, the proposed functions work 10 times faster than corresponding analogues from the standard mathematical library with prototypes in math.h.

Keywords: transcendental functions, architecture x86-64, Riemann problem, acceleration of calculations, tabulation of functions, AVX, AVX2, FMA.

UDC: 519.6

Received: 12.02.2023

DOI: 10.26089/NumMet.v24r211



© Steklov Math. Inst. of RAS, 2024