Searched defs:tanh (Results 1 - 1 of 1) sorted by relevance

/bionic/libm/src/
H A Ds_tanh.c23 * 0. tanh(x) is defined to be -----------
26 * 1. reduce x to non-negative by tanh(-x) = -tanh(x).
27 * 2. 0 <= x <= 2**-55 : tanh(x) := x*(one+x)
29 * 2**-55 < x <= 1 : tanh(x) := -----; t = expm1(-2x)
32 * 1 <= x <= 22.0 : tanh(x) := 1- ----- ; t=expm1(2x)
34 * 22.0 < x <= INF : tanh(x) := 1.
37 * tanh(NaN) is NaN;
38 * only tanh(0)=0 is exact for finite argument.
47 tanh(doubl function
[all...]

Completed in 1915 milliseconds