pub fn exp_mult(x: f64, y: f64) -> f64
This routine exponentiates x and multiply by the factor y to return the product y \exp(x).