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

/bionic/libm/x86/
H A Ds_tanh.S35 // tanh(x)=(exp(x)-exp(-x))/(exp(x)+exp(-x))=(1-exp(-2*x))/(1+exp(-2*x))
73 // tanh(NaN) = quiet NaN, and raise invalid exception
74 // tanh(INF) = that INF
75 // tanh(+/-0) = +/-0
95 # -- Begin tanh
96 ENTRY(tanh) function
277 END(tanh)
278 # -- End tanh
281 ALIAS_SYMBOL(tanhl, tanh);
/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_tanh.c22 * 0. tanh(x) is defined to be -----------
25 * 1. reduce x to non-negative by tanh(-x) = -tanh(x).
26 * 2. 0 <= x < 2**-28 : tanh(x) := x with inexact if x != 0
28 * 2**-28 <= x < 1 : tanh(x) := -----; t = expm1(-2x)
31 * 1 <= x < 22 : tanh(x) := 1 - -----; t = expm1(2x)
33 * 22 <= x <= INF : tanh(x) := 1.
36 * tanh(NaN) is NaN;
37 * only tanh(0)=0 is exact for finite argument.
49 tanh(doubl function
[all...]
/bionic/libm/x86_64/
H A Ds_tanh.S35 // tanh(x)=(exp(x)-exp(-x))/(exp(x)+exp(-x))=(1-exp(-2*x))/(1+exp(-2*x))
73 // tanh(NaN) = quiet NaN, and raise invalid exception
74 // tanh(INF) = that INF
75 // tanh(+/-0) = +/-0
80 # -- Begin tanh
81 ENTRY(tanh) function
256 END(tanh)
257 # -- End tanh

Completed in 71 milliseconds