Lines Matching defs:tanh
30 /* tanh(x)
36 * 0. tanh(x) is defined to be -----------
40 * 1. reduce x to non-negative by tanh(-x) = -tanh(x).
41 * 2. 0 <= x <= 2**-55 : tanh(x) := x * (one + x)
44 * 2**-55 < x <= 1 : tanh(x) := -----; t = expm1(-2x)
48 * 1 <= x <= 22.0 : tanh(x) := 1- ----- ; t = expm1(2x)
51 * 22.0 < x <= INF : tanh(x) := 1.
54 * tanh(NaN) is NaN;
55 * only tanh(0) = 0 is exact for finite x.
62 tanh (double x)
76 /* tanh(+-inf) = +-1 */
81 /* tanh(NaN) = NaN */
92 /* tanh(small) = small */
113 } /* tanh */