HomeSort by relevance Sort by last modified time
    Searched full:tanh (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /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) );
  /external/fdlibm/
s_tanh.c 14 /* Tanh(x)
34 * tanh(NaN) is NaN;
  /libcore/luni/src/main/native/
java_lang_Math.cpp 91 return tanh(a);
151 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;
  /frameworks/base/tests/CoreTests/android/core/
MathTest.java 688 * @tests java.lang.Math#tanh(double)
693 assertTrue("Should return NaN", Double.isNaN(Math.tanh(Double.NaN)));
695 .tanh(Double.POSITIVE_INFINITY), 0D);
697 .tanh(Double.NEGATIVE_INFINITY), 0D);
699 .tanh(0.0)));
701 .doubleToLongBits(Math.tanh(+0.0)));
703 .doubleToLongBits(Math.tanh(-0.0)));
705 assertEquals("Should return 1.0", 1.0, Math.tanh(1234.56), 0D);
706 assertEquals("Should return -1.0", -1.0, Math.tanh(-1234.56), 0D);
708 9.999999999996666E-7, Math.tanh(0.000001), 0D)
    [all...]
StrictMathTest.java 710 * @tests java.lang.StrictMath#tanh(double)
715 assertTrue(Double.isNaN(StrictMath.tanh(Double.NaN)));
717 .tanh(Double.POSITIVE_INFINITY), 0D);
719 .tanh(Double.NEGATIVE_INFINITY), 0D);
721 .doubleToLongBits(StrictMath.tanh(0.0)));
723 .doubleToLongBits(StrictMath.tanh(+0.0)));
725 .doubleToLongBits(StrictMath.tanh(-0.0)));
727 assertEquals("Should return 1.0", 1.0, StrictMath.tanh(1234.56), 0D);
728 assertEquals("Should return -1.0", -1.0, StrictMath.tanh(-1234.56), 0D);
730 9.999999999996666E-7, StrictMath.tanh(0.000001), 0D)
    [all...]
  /bionic/libstdc++/include/
cmath 55 using ::tanh;
  /external/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
  /ndk/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
  /ndk/sources/cxx-stl/system/include/
cmath 55 using ::tanh;

Completed in 760 milliseconds

1 2 3 4 5