/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestExpm1.rs | 24 return expm1(in); 28 return expm1(in); 32 return expm1(in); 36 return expm1(in);
|
/external/chromium_org/v8/test/mjsunit/es6/ |
math-expm1.js | 7 assertTrue(isNaN(Math.expm1(NaN))); 8 assertTrue(isNaN(Math.expm1(function() {}))); 9 assertTrue(isNaN(Math.expm1({ toString: function() { return NaN; } }))); 10 assertTrue(isNaN(Math.expm1({ valueOf: function() { return "abc"; } }))); 11 assertEquals(Infinity, 1/Math.expm1(0)); 12 assertEquals(-Infinity, 1/Math.expm1(-0)); 13 assertEquals(Infinity, Math.expm1(Infinity)); 14 assertEquals(-1, Math.expm1(-Infinity)); 18 // Math.expm1(x) stays reasonably close to Math.exp(x) - 1 for large values. 21 assertEqualsDelta(expected, Math.expm1(x), expected * 1E-15) 30 function expm1(x) { function [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_tanh.c | 28 * 2**-28 <= x < 1 : tanh(x) := -----; t = expm1(-2x) 31 * 1 <= x < 22 : tanh(x) := 1 - -----; t = expm1(2x) 66 t = expm1(two*fabs(x)); 69 t = expm1(-two*fabs(x));
|
e_cosh.c | 56 /* |x| in [0,0.5*ln2], return 1+expm1(|x|)^2/(2*exp(|x|)) */ 58 t = expm1(fabs(x));
|
e_sinh.c | 23 * 0 <= x <= 22 : sinh(x) := --------------, E=expm1(x) 59 t = expm1(fabs(x));
|
s_expm1.c | 16 /* expm1(x) 28 * 2. Approximating expm1(r) by a special rational function on 54 * expm1(r) = exp(r)-1 is then computed by the following 58 * expm1(r) = r + --- + --- * [--------------------] 62 * expm1(r+c) = expm1(r) + c + expm1(r)*c 63 * ~ expm1(r) + c + r*c 65 * expm1(r+c). Now rearrange the term to avoid optimization 69 * expm1(r+c)~r - ({r*(--- * [--------------------]-c)-c} - --- 133 expm1(double x) function [all...] |
/external/chromium_org/v8/third_party/fdlibm/ |
fdlibm.js | 522 // Math.expm1 534 // 2. Approximating expm1(r) by a special rational function on 560 // expm1(r) = exp(r)-1 is then computed by the following 564 // expm1(r) = r + --- + --- * [--------------------] 568 // expm1(r+c) = expm1(r) + c + expm1(r)*c 569 // ~ expm1(r) + c + r*c 571 // expm1(r+c). Now rearrange the term to avoid optimization 575 // expm1(r+c)~r - ({r*(--- * [--------------------]-c)-c} - --- [all...] |
/libcore/luni/src/main/native/ |
java_lang_Math.cpp | 107 return expm1(a); 133 NATIVE_METHOD(Math, expm1, "!(D)D"),
|
java_lang_StrictMath.cpp | 132 NATIVE_METHOD(StrictMath, expm1, "!(D)D"),
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMathTest.java | 196 assertTrue("Should return NaN", Double.isNaN(Math.expm1(Double.NaN))); 198 Double.POSITIVE_INFINITY, Math.expm1(Double.POSITIVE_INFINITY), 0D); 200 .expm1(Double.NEGATIVE_INFINITY), 0D); 202 .expm1(0.0))); 204 .doubleToLongBits(Math.expm1(+0.0))); 206 .doubleToLongBits(Math.expm1(-0.0))); 209 -9.999950000166666E-6, Math.expm1(-0.00001), 0D); 211 1.0145103074469635E60, Math.expm1(138.16951162), 0D); 214 .expm1(123456789123456789123456789.4521584223), 0D); 216 Double.POSITIVE_INFINITY, Math.expm1(Double.MAX_VALUE), 0D) [all...] |
OldAndroidStrictMathTest.java | 190 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); 192 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.POSITIVE_INFINITY)); 194 .expm1(Double.NEGATIVE_INFINITY)); 196 .doubleToLongBits(StrictMath.expm1(0.0))); 198 .doubleToLongBits(StrictMath.expm1(+0.0))); 200 .doubleToLongBits(StrictMath.expm1(-0.0))); 203 -9.999950000166666E-6, StrictMath.expm1(-0.00001)); 205 1.0145103074469635E60, StrictMath.expm1(138.16951162)); 208 .expm1(123456789123456789123456789.4521584223)); 210 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.MAX_VALUE)) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuRuntimeMathFuncs.cpp | 51 IMPORT_F32_FN_F32(expm1)
|
/ndk/sources/android/support/src/ |
math_support.c | 74 __attribute__((weak)) long double expm1l(long double x) { return expm1((double)x); }
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | 364 * java.lang.StrictMath#expm1(double) 369 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); 371 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.POSITIVE_INFINITY)); 373 .expm1(Double.NEGATIVE_INFINITY)); 375 .doubleToLongBits(StrictMath.expm1(0.0))); 377 .doubleToLongBits(StrictMath.expm1(+0.0))); 379 .doubleToLongBits(StrictMath.expm1(-0.0))); 382 -9.999950000166666E-6, StrictMath.expm1(-0.00001)); 384 1.0145103074469635E60, StrictMath.expm1(138.16951162)); 387 .expm1(123456789123456789123456789.4521584223)) [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 131 #define expm1(x) __TGMATH_REAL(x, expm1) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
tgmath.h | 142 #define expm1(x) __TGMATH_REAL(x, expm1) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
tgmath.h | 142 #define expm1(x) __TGMATH_REAL(x, expm1) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 131 #define expm1(x) __TGMATH_REAL(x, expm1) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include/ |
tgmath.h | 131 #define expm1(x) __TGMATH_REAL(x, expm1) macro
|
/external/bison/darwin-lib/ |
math.h | 962 # undef expm1 963 # define expm1 rpl_expm1 965 _GL_FUNCDECL_RPL (expm1, double, (double x)); 966 _GL_CXXALIAS_RPL (expm1, double, (double x)); 969 _GL_FUNCDECL_SYS (expm1, double, (double x)); 971 _GL_CXXALIAS_SYS (expm1, double, (double x)); 973 _GL_CXXALIASWARN (expm1); 975 # undef expm1 macro 977 _GL_WARN_ON_USE (expm1, "expm1 is unportable - [all...] |
/external/bison/lib/ |
math.in.h | 650 # undef expm1 macro 651 # define expm1 rpl_expm1 macro 653 _GL_FUNCDECL_RPL (expm1, double, (double x)); 654 _GL_CXXALIAS_RPL (expm1, double, (double x)); 657 _GL_FUNCDECL_SYS (expm1, double, (double x)); 659 _GL_CXXALIAS_SYS (expm1, double, (double x)); 661 _GL_CXXALIASWARN (expm1); variable 663 # undef expm1 macro 665 _GL_WARN_ON_USE (expm1, "expm1 is unportable - [all...] |
/external/bison/linux-lib/ |
math.h | 962 # undef expm1 963 # define expm1 rpl_expm1 965 _GL_FUNCDECL_RPL (expm1, double, (double x)); 966 _GL_CXXALIAS_RPL (expm1, double, (double x)); 969 _GL_FUNCDECL_SYS (expm1, double, (double x)); 971 _GL_CXXALIAS_SYS (expm1, double, (double x)); 973 _GL_CXXALIASWARN (expm1); 975 # undef expm1 macro 977 _GL_WARN_ON_USE (expm1, "expm1 is unportable - [all...] |
/external/clang/test/CodeGen/ |
libcall-declarations.c | 82 double expm1(double); 278 F(exp2f), F(exp2l), F(expm1), F(expm1f), F(expm1l), 381 // CHECK-NOERRNO: declare double @expm1(double) [[NUW]]
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/bits/ |
mathcalls.h | 129 __MATHCALL (expm1,, (_Mdouble_ __x));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
tgmath.h | 310 #define expm1(Val) __TGMATH_UNARY_REAL_ONLY (Val, expm1) macro
|