pub fn tanh(x: f32) -> f32
calculate the tanh to the given f32 number
tanh
let x:f32 = 0.5; let answer:f32 = tanh(x); println!("tanh({}) => {}",x,answer);