The Standard LibrarymathMethodsexpOn this pageexpComputes the exponential function 𝑒 to the power of x . exp(5); // 148.413 Syntax exp(value) Returns The exponential function as a double.