Home | History | Annotate | Download | only in math

Lines Matching refs:atanh

24 //	1. Reduce x to positive by atanh(-x) = -atanh(x)
27 // atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
31 // atanh(x) = 0.5*log1p(2x+2x*x/(1-x))
34 // atanh(x) is NaN if |x| > 1 with signal;
35 // atanh(NaN) is that NaN with no signal;
36 // atanh(+-1) is +-INF with signal.
39 // Atanh returns the inverse hyperbolic tangent of x.
42 // Atanh(1) = +Inf
43 // Atanh(±0) = ±0
44 // Atanh(-1) = -Inf
45 // Atanh(x) = NaN if x < -1 or x > 1
46 // Atanh(NaN) = NaN
47 func Atanh(x float64) float64
49 func atanh(x float64) float64 {