Skip to main content

tanh

Function tanh 

pub fn tanh(x: f64) -> f64
Expand description

Returns the hyperbolic tangent of x.

var a = log(2.0) # Returns 0.693147
tanh(a)          # Returns 0.6