Functions that calculate correctly rounded exponents provide the best approximation and ensure cross-platform portability. This paper presents an algorithm for calculating the correctly rounded value of the exponential function when its argument and value are double-precision numbers and the calculations use extended double-precision arithmetic. The formal description of the algorithm is provided. The proposed algorithm is implemented as a C function. The results of its testing, including the measurement of its time characteristics and comparison with other algorithms, are presented.