Searched defs:expm1 (Results 1 - 13 of 13) sorted by relevance

/external/v8/test/mjsunit/es6/
H A Dmath-expm1.js7 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(
30 function expm1(x) { function
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DFastMath.java401 expm1(x, hiPrec);
406 /* Compute expm1(-x) = -expm1(x) / (expm1(x) + 1) */
517 // tanh(x) = expm1(2x) / (expm1(2x) + 2)
518 expm1(x*2.0, hiPrec);
828 public static double expm1(double x) { method in class:FastMath
829 return expm1(x, null);
832 /** Internal helper method for expm1
837 private static double expm1(double x, double hiPrecOut[]) { method in class:FastMath
[all...]
/external/bison/darwin-lib/
H A Dmath.h962 # 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 i
[all...]
/external/bison/lib/
H A Dmath.in.h650 # 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 i
[all...]
/external/bison/linux-lib/
H A Dmath.h962 # 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 i
[all...]
/external/clang/lib/Headers/
H A Dtgmath.h679 // expm1
687 __tg_expm1(double __x) {return expm1(__x);}
693 #undef expm1 macro
694 #define expm1(__x) __tg_expm1(__tg_promote1((__x))(__x)) macro
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp76 Ambiguous expm1(Ambiguous){ return Ambiguous(); } function
868 static_assert((std::is_same<decltype(std::expm1((float)0)), float>::value), "");
869 static_assert((std::is_same<decltype(std::expm1((bool)0)), double>::value), "");
870 static_assert((std::is_same<decltype(std::expm1((unsigned short)0)), double>::value), "");
871 static_assert((std::is_same<decltype(std::expm1((int)0)), double>::value), "");
872 static_assert((std::is_same<decltype(std::expm1((unsigned int)0)), double>::value), "");
873 static_assert((std::is_same<decltype(std::expm1((long)0)), double>::value), "");
874 static_assert((std::is_same<decltype(std::expm1((unsigned long)0)), double>::value), "");
875 static_assert((std::is_same<decltype(std::expm1((long long)0)), double>::value), "");
876 static_assert((std::is_same<decltype(std::expm1((unsigne
[all...]
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
H A Dtgmath.h679 // expm1
687 __tg_expm1(double __x) {return expm1(__x);}
693 #undef expm1 macro
694 #define expm1(__x) __tg_expm1(__tg_promote1((__x))(__x)) macro
/external/v8/src/base/
H A Dieee754.cc1901 /* expm1(x)
1913 * 2. Approximating expm1(r) by a special rational function on
1939 * expm1(r) = exp(r)-1 is then computed by the following
1943 * expm1(r) = r + --- + --- * [--------------------]
1947 * expm1(r+c) = expm1(r) + c + expm1(r)*c
1948 * ~ expm1(r) + c + r*c
1950 * expm1(r+c). Now rearrange the term to avoid optimization
1954 * expm1(
1995 double expm1(double x) { function in namespace:v8::base::ieee754
[all...]
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 157 milliseconds