/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"),
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
Log1PTest.java | 72 ref[idxRef] = (float)(Math.log1p((double)in[idx]));
|
/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...] |
/bionic/libm/ |
fake_long_double.c | 54 long double log1pl(long double a1) { return log1p(a1); }
|
/frameworks/rs/cpu_ref/ |
rsCpuRuntimeMathFuncs.cpp | 70 IMPORT_F32_FN_F32(log1p)
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StrictMathTest.java | 550 * @tests 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.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 146 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/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.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 146 #define log1p(x) __TGMATH_REAL(x, log1p) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/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...] |
/bionic/tests/ |
math_test.cpp | 797 TEST(math, log1p) { 798 ASSERT_EQ(-HUGE_VAL, log1p(-1.0)); 799 ASSERT_TRUE(isnan(log1p(nan("")))); 800 ASSERT_TRUE(isinf(log1p(HUGE_VAL))); 801 ASSERT_FLOAT_EQ(1.0, log1p(M_E - 1.0));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
mathcalls.h | 132 __MATHCALL (log1p,, (_Mdouble_ __x));
|