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