Function rgsl::exponential::exprel_e [] [src]

pub fn exprel_e(x: f64) -> (Value, Result)

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 + x2/(2*3) + x3/(2*3*4) + \dots.