expm1

Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero

Syntax

expm1 ( float $arg ) : float

Parameters

arg

The argument to process

Return

'e' to the power of arg minus one

Note: 'e' is the base of the natural system of logarithms, or approximately 2.718282.

Examples

<?

$arg = 0.01234;

$return = expm1($arg);

echo $return;

?>
0.012416451948701

abs

acos

acosh

asin

asinh

atan

atan2

atanh

base_convert

bindec

ceil

cos

cosh

decbin

dechex

decoct

deg2rad

exp

fdiv

floor

fmod

hexdec

hypot

intdiv

is_finite

is_infinite

is_nan

log

log10

log1p

max

min

octdec

pi

pow

rad2deg

round

sin

sinh

sqrt

tan

tanh

PHP

Home Menu