Generalized quantum exponential function and its applications