Function rgsl::exponential::exprel[][src]

pub fn exprel(x: f64) -> f64

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