expm1() returns the equivalent to 'exp($arg) - 1' computed in a way that is accurate even if the value of $arg is near zero, a case where 'exp($arg) - 1' would be inaccurate due to subtraction of two numbers that are nearly equal.

declaration of expm1

float expm1 ( float $arg )

test expm1 online

share expm1

comments for expm1

be the first

No comments so far for expm1(). Leave yours as first below.


Leave your comment