/external/chromium_org/v8/test/mjsunit/es6/ |
math-log1p.js | 5 assertTrue(isNaN(Math.log1p(NaN))); 6 assertTrue(isNaN(Math.log1p(function() {}))); 7 assertTrue(isNaN(Math.log1p({ toString: function() { return NaN; } }))); 8 assertTrue(isNaN(Math.log1p({ valueOf: function() { return "abc"; } }))); 9 assertEquals(Infinity, 1/Math.log1p(0)); 10 assertEquals(-Infinity, 1/Math.log1p(-0)); 11 assertEquals(Infinity, Math.log1p(Infinity)); 12 assertEquals(-Infinity, Math.log1p(-1)); 13 assertTrue(isNaN(Math.log1p(-2))); 14 assertTrue(isNaN(Math.log1p(-Infinity))) 24 function log1p(x) { function [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestLog1p.rs | 24 return log1p(in); 28 return log1p(in); 32 return log1p(in); 36 return log1p(in);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_atanh.c | 23 * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------) 27 * atanh(x) = 0.5*log1p(2x+2x*x/(1-x)) 60 t = 0.5*log1p(t+t*x/(one-x)); 62 t = 0.5*log1p((x+x)/(one-x));
|
e_acosh.c | 25 * acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1. 62 return log1p(t+sqrt(2.0*t+t*t));
|
s_asinh.c | 24 * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2))) 55 w =log1p(fabs(x)+t/(one+__ieee754_sqrt(one+t)));
|
s_log1p.c | 16 /* double log1p(double x) 30 * 2. Approximation of log1p(f). 48 * log1p(f) = f - (hfsq - s*(hfsq+R)). 50 * 3. Finally, log1p(x) = k*ln2 + log1p(f). 57 * log1p(x) is NaN with signal if x < -1 (including -INF) ; 58 * log1p(+INF) is +INF; log1p(-1) is -INF with signal; 59 * log1p(NaN) is that NaN with no signal. 72 * algorithm can be used to compute log1p(x) to within a few ULP 102 log1p(double x) function [all...] |
/libcore/luni/src/main/native/ |
java_lang_Math.cpp | 115 return log1p(a); 138 NATIVE_METHOD(Math, log1p, "!(D)D"),
|
java_lang_StrictMath.cpp | 137 NATIVE_METHOD(StrictMath, log1p, "!(D)D"),
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMathTest.java | 305 assertTrue("Should return NaN", Double.isNaN(Math.log1p(Double.NaN))); 306 assertTrue("Should return NaN", Double.isNaN(Math.log1p(-32.0482175))); 308 Double.POSITIVE_INFINITY, Math.log1p(Double.POSITIVE_INFINITY), 0D); 310 .log1p(0.0))); 312 .doubleToLongBits(Math.log1p(+0.0))); 314 .doubleToLongBits(Math.log1p(-0.0))); 317 Math.log1p(-0.254856327), 0D); 319 .log1p(1583.542), 0D); 321 Math.log1p(0.5894227), 0D); 323 .log1p(Double.MAX_VALUE), 0D) [all...] |
OldAndroidStrictMathTest.java | 318 .log1p(Double.NaN))); 320 .log1p(-32.0482175))); 323 .log1p(Double.POSITIVE_INFINITY)); 325 .doubleToLongBits(StrictMath.log1p(0.0))); 327 .doubleToLongBits(StrictMath.log1p(+0.0))); 329 .doubleToLongBits(StrictMath.log1p(-0.0))); 332 StrictMath.log1p(-0.254856327)); 334 StrictMath.log1p(1583.542)); 336 StrictMath.log1p(0.5894227)); 338 StrictMath.log1p(Double.MAX_VALUE)) [all...] |
/external/chromium_org/v8/third_party/fdlibm/ |
fdlibm.js | 363 // Math.log1p 377 // 2. Approximation of log1p(f). 395 // log1p(f) = f - (hfsq - s*(hfsq+R)). 397 // 3. Finally, log1p(x) = k*ln2 + log1p(f). 404 // log1p(x) is NaN with signal if x < -1 (including -INF) ; 405 // log1p(+INF) is +INF; log1p(-1) is -INF with signal; 406 // log1p(NaN) is that NaN with no signal. 417 // algorithm can be used to compute log1p(x) to within a few ULP [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuRuntimeMathFuncs.cpp | 70 IMPORT_F32_FN_F32(log1p)
|
/ndk/sources/android/support/src/ |
math_support.c | 79 __attribute__((weak)) long double log1pl(long double x) { return log1p((double)x); }
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | 550 * java.lang.StrictMath#log1p(double) 556 .log1p(Double.NaN))); 558 .log1p(-32.0482175))); 561 .log1p(Double.POSITIVE_INFINITY)); 563 .doubleToLongBits(StrictMath.log1p(0.0))); 565 .doubleToLongBits(StrictMath.log1p(+0.0))); 567 .doubleToLongBits(StrictMath.log1p(-0.0))); 570 StrictMath.log1p(-0.254856327)); 572 StrictMath.log1p(1583.542)); 574 StrictMath.log1p(0.5894227)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 604 self.assertRaises(TypeError, math.log1p) 605 self.ftest('log1p(1/e -1)', math.log1p(1/math.e-1), -1) 606 self.ftest('log1p(0)', math.log1p(0), 0) 607 self.ftest('log1p(e-1)', math.log1p(math.e-1), 1) 608 self.ftest('log1p(1)', math.log1p(1), math.log(2)) 609 self.assertEqual(math.log1p(INF), INF [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 604 self.assertRaises(TypeError, math.log1p) 605 self.ftest('log1p(1/e -1)', math.log1p(1/math.e-1), -1) 606 self.ftest('log1p(0)', math.log1p(0), 0) 607 self.ftest('log1p(e-1)', math.log1p(math.e-1), 1) 608 self.ftest('log1p(1)', math.log1p(1), math.log(2)) 609 self.assertEqual(math.log1p(INF), INF [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 146 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
tgmath.h | 157 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
tgmath.h | 157 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 146 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include/ |
tgmath.h | 146 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/external/bison/darwin-lib/ |
math.h | 1688 # undef log1p macro [all...] |
/external/bison/lib/ |
math.in.h | 1363 # undef log1p macro 1364 # define log1p macro 1374 _GL_CXXALIASWARN (log1p); variable 1376 # undef log1p macro [all...] |
/external/bison/linux-lib/ |
math.h | 1688 # undef log1p macro [all...] |
/external/clang/test/CodeGen/ |
libcall-declarations.c | 121 double log1p(double); 286 F(log10l), F(log1p), F(log1pf), F(log1pl), F(log2), 420 // CHECK-NOERRNO: declare double @log1p(double) [[NUW]]
|