|
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.
Received: 12.02.2023
Citation:
E. I. Vasilev, G. А. Ionov, M. А. Ionov, “Fast calculation of the exponential function using tables”, Num. Meth. Prog., 24:2 (2023), 142–151
Linking options:
https://www.mathnet.ru/eng/vmp1080 https://www.mathnet.ru/eng/vmp/v24/i2/p142
|
Statistics & downloads: |
Abstract page: | 81 | Full-text PDF : | 85 |
|