/bionic/libm/src/ |
s_tanh.c | 17 /* Tanh(x) 23 * 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(double x) function [all...] |
s_tanhf.c | 35 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ 36 else return one/x-one; /* tanh(NaN) = NaN */ 42 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */
|
/bionic/libm/man/ |
tanh.3 | 32 .\" from: @(#)tanh.3 5.1 (Berkeley) 5/2/91 33 .\" $FreeBSD: src/lib/msun/man/tanh.3,v 1.10 2001/10/13 12:23:23 bde Exp $ 36 .Dt TANH 3 39 .Nm tanh , 47 .Fn tanh "double x" 52 .Fn tanh 61 .Fn tanh 78 .Fn tanh
|
atan.3 | 79 .Xr tanh 3
|
cos.3 | 78 .Xr tanh 3
|
cosh.3 | 67 .Xr tanh 3
|
sin.3 | 77 .Xr tanh 3
|
sinh.3 | 66 .Xr tanh 3
|
tan.3 | 76 .Xr tanh 3
|
/external/stlport/test/unit/ |
valarray_test.cpp | 51 tmp = tanh(darray); 77 tmp = tanh(farray); 104 tmp = tanh(ldarray);
|
cmath_test.cpp | 108 CPPUNIT_CHECK( are_equals(std::tanh(0.0), 0.0) ); 133 CPPUNIT_CHECK( are_equals(std::tanh(0.0f), 0.0f) ); 160 CPPUNIT_CHECK( are_equals(std::tanh(0.0l), 0.0l) );
|
/ndk/tests/device/test-gnustl-full/unit/ |
valarray_test.cpp | 51 tmp = tanh(darray); 77 tmp = tanh(farray); 104 tmp = tanh(ldarray);
|
cmath_test.cpp | 108 CPPUNIT_CHECK( are_equals(std::tanh(0.0), 0.0) ); 133 CPPUNIT_CHECK( are_equals(std::tanh(0.0f), 0.0f) ); 160 CPPUNIT_CHECK( are_equals(std::tanh(0.0l), 0.0l) );
|
/ndk/tests/device/test-stlport/unit/ |
valarray_test.cpp | 51 tmp = tanh(darray); 77 tmp = tanh(farray); 104 tmp = tanh(ldarray);
|
cmath_test.cpp | 108 CPPUNIT_CHECK( are_equals(std::tanh(0.0), 0.0) ); 133 CPPUNIT_CHECK( are_equals(std::tanh(0.0f), 0.0f) ); 160 CPPUNIT_CHECK( are_equals(std::tanh(0.0l), 0.0l) );
|
/development/ndk/platforms/android-3/arch-arm/symbols/ |
libm.so.functions.txt | 215 tanh
|
/development/ndk/platforms/android-9/arch-x86/symbols/ |
libm.so.functions.txt | 183 tanh
|
/external/mesa3d/src/glsl/builtins/ir/ |
tanh | 1 ((function tanh
|
/external/fdlibm/ |
s_tanh.c | 14 /* Tanh(x) 34 * tanh(NaN) is NaN;
|
/libcore/luni/src/main/native/ |
java_lang_Math.cpp | 79 return tanh(a); 131 NATIVE_METHOD(Math, tanh, "!(D)D"),
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
cmath | 53 using ::tanh;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
cmath | 53 using ::tanh;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMathTest.java | 535 assertTrue("Should return NaN", Double.isNaN(Math.tanh(Double.NaN))); 537 .tanh(Double.POSITIVE_INFINITY), 0D); 539 .tanh(Double.NEGATIVE_INFINITY), 0D); 541 .tanh(0.0))); 543 .doubleToLongBits(Math.tanh(+0.0))); 545 .doubleToLongBits(Math.tanh(-0.0))); 547 assertEquals("Should return 1.0", 1.0, Math.tanh(1234.56), 0D); 548 assertEquals("Should return -1.0", -1.0, Math.tanh(-1234.56), 0D); 550 9.999999999996666E-7, Math.tanh(0.000001), 0D); 552 .tanh(2.33482), 0D) [all...] |
OldAndroidStrictMathTest.java | 557 assertTrue(Double.isNaN(StrictMath.tanh(Double.NaN))); 559 .tanh(Double.POSITIVE_INFINITY), 0D); 561 .tanh(Double.NEGATIVE_INFINITY), 0D); 563 .doubleToLongBits(StrictMath.tanh(0.0))); 565 .doubleToLongBits(StrictMath.tanh(+0.0))); 567 .doubleToLongBits(StrictMath.tanh(-0.0))); 569 assertEquals("Should return 1.0", 1.0, StrictMath.tanh(1234.56), 0D); 570 assertEquals("Should return -1.0", -1.0, StrictMath.tanh(-1234.56), 0D); 572 9.999999999996666E-7, StrictMath.tanh(0.000001), 0D); 574 StrictMath.tanh(2.33482), 0D) [all...] |
/bionic/libstdc++/include/ |
cmath | 55 using ::tanh;
|