English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
expm1) function returns e raised to the power of x-1, that is
ex -1
expm1(val)
val-This is power
expm1) function returns e raised to the power of x-1
<?php echo(expm1(0) . "<br>"; echo(expm1(1)); ?>
Output Result
0<br>1.718281828459
Let's look at another example-
<?php $val = 1; echo "e^", $val, ""-1 = "", expm1($val); ?>
Output Result
e^1-1 = 1.718281828459