Loadable Function: z = gsl_sf_exprel_2 (arg1)
Loadable Function: [z, err] = gsl_sf_exprel_2 (…)

Computes the quantity 2(\exp(x)-1-x)/x^2 using an algorithm that is accurate for small x. For small x the algorithm is based on the expansion 2(\exp(x)-1-x)/x^2 = 1 + x/3 + x^2/(3*4) + x^3/(3*4*5) + \dots.

err contains an estimate of the absolute error in the value z.

This function is from the GNU Scientific Library, see http://www.gnu.org/software/gsl/ for documentation.

Package: gsl