Section: Linux Programmer's Manual (3)
Return to Main Contents
expm1, expm1f, expm1l - exponential minus 1
double expm1(double x);
Link with -lm.
float expm1f(float x);
long double expm1l(long double x);
returns a value equivalent to `exp (x) - 1'. It is
computed in a way that is accurate even if the value of x is near
zero---a case where `exp (x) - 1' would be inaccurate due to
subtraction of two numbers that are nearly equal.
variants are C99 requirements.
- CONFORMING TO
- SEE ALSO
linux.jgfs.net manual pages