v / vlib / math
Raw file | 9 loc (7 sloc) | 140 bytes | Latest commit hash 1cfc4198f
1module math
2
3fn JS.Math.tanh(x f64) f64
4
5// tanh calculates hyperbolic tangent.
6[inline]
7pub fn tanh(a f64) f64 {
8 return JS.Math.tanh(a)
9}