/bionic/libm/x86/ |
s_tanh.S | 35 // 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);
|
/prebuilts/go/darwin-x86/src/math/ |
tanh.go | 11 // tanh.c 17 // double x, y, tanh(); 19 // y = tanh( x ); 30 // tanh(x) = sinh(x)/cosh(x) = 1 - 2/(exp(2x) + 1). 68 // Tanh returns the hyperbolic tangent of x. 71 // Tanh(±0) = ±0 72 // Tanh(±Inf) = ±1 73 // Tanh(NaN) = NaN 74 func Tanh(x float64) float64 76 func tanh(x float64) float64 func [all...] |
/prebuilts/go/linux-x86/src/math/ |
tanh.go | 11 // tanh.c 17 // double x, y, tanh(); 19 // y = tanh( x ); 30 // tanh(x) = sinh(x)/cosh(x) = 1 - 2/(exp(2x) + 1). 68 // Tanh returns the hyperbolic tangent of x. 71 // Tanh(±0) = ±0 72 // Tanh(±Inf) = ±1 73 // Tanh(NaN) = NaN 74 func Tanh(x float64) float64 76 func tanh(x float64) float64 func [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_tanh.c | 16 /* Tanh(x) 22 * 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(double x) function [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
s_tanh.c | 18 /* Tanh(x)
24 * 0. tanh(x) is defined to be -----------
27 * 1. reduce x to non-negative by tanh(-x) = -tanh(x).
28 * 2. 0 <= x <= 2**-55 : tanh(x) := x*(one+x)
30 * 2**-55 < x <= 1 : tanh(x) := -----; t = expm1(-2x)
33 * 1 <= x <= 22.0 : tanh(x) := 1- ----- ; t=expm1(2x)
35 * 22.0 < x <= INF : tanh(x) := 1.
38 * tanh(NaN) is NaN;
39 * only tanh(0)=0 is exact for finite argument. 48 tanh(double x) function [all...] |
/bionic/libm/x86_64/ |
s_tanh.S | 35 // 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
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
complex_trig.cpp | 168 // tanh 181 _STLP_DECLSPEC complex<float> _STLP_CALL tanh(const complex<float>& z) function 184 _STLP_DECLSPEC complex<double> _STLP_CALL tanh(const complex<double>& z) function 188 _STLP_DECLSPEC complex<long double> _STLP_CALL tanh(const complex<long double>& z) function
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
complex_trig.cpp | 168 // tanh 181 _STLP_DECLSPEC complex<float> _STLP_CALL tanh(const complex<float>& z) function 184 _STLP_DECLSPEC complex<double> _STLP_CALL tanh(const complex<double>& z) function 188 _STLP_DECLSPEC complex<long double> _STLP_CALL tanh(const complex<long double>& z) function
|
/external/clang/lib/Headers/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/darwin-x86/clang-3016494/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/darwin-x86/clang-3217047/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/darwin-x86/clang-3362437/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/linux-x86/clang-3016494/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/linux-x86/clang-3217047/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/linux-x86/clang-3289846/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/clang/host/linux-x86/clang-3362437/lib64/clang/3.8/include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/prebuilts/sdk/renderscript/clang-include/ |
__clang_cuda_cmath.h | 144 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function
|
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 56 * {@code sinh}, {@code cosh}, {@code tanh}, 1291 public static native double tanh(double x); method in class:StrictMath [all...] |
/libcore/ojluni/src/main/native/ |
jfdlibm.h | 58 #define tanh jtanh macro
|
/prebuilts/clang/host/darwin-x86/clang-3688880/lib64/clang/4.0/include/ |
__clang_cuda_cmath.h | 149 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function 256 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, tanh) 395 using ::tanh;
|
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_cmath.h | 149 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function 256 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, tanh) 395 using ::tanh;
|
/prebuilts/clang/host/linux-x86/clang-3688880/lib64/clang/4.0/include/ |
__clang_cuda_cmath.h | 149 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function 256 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, tanh) 395 using ::tanh;
|
/prebuilts/clang/host/linux-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_cmath.h | 149 __DEVICE__ float tanh(float __x) { return ::tanhf(__x); } function 256 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, tanh) 395 using ::tanh;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
Complex.java | 884 * tanh(1 ± INFINITY i) = NaN + NaN i 885 * tanh(±INFINITY + i) = NaN + 0 i 886 * tanh(±INFINITY ± INFINITY i) = NaN + NaN i 887 * tanh(0 + (π/2)i) = NaN + INFINITY i</code></pre></p> 892 public Complex tanh() { method in class:Complex [all...] |