Skip to main content

tanh

functionv1.11

cljs.math/tanh

(tanh [x])
Returns the hyperbolic tangent of x, sinh(x)/cosh(x). If x is ##NaN => ##NaN If x is zero => zero, with same sign If x is ##Inf => +1.0 If x is ##-Inf => -1.0 See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/tanh

No examples yet. Be the first to add one!