HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Math Methods : Find the exponential value of a number - 1
The math.expm1()
method returns Ex - 1.
'E' is the base of the natural system of logarithms (approximately 2.718282) and x is the number passed to it.
This function is more accurate than calling
math.exp()
and subtracting 1.
Parameter | Description |
---|---|
x | Required. Specifies the exponent |
Return Value: | A float value, representing Ex - 1 |
---|---|
Python Version: | 2.7 |