HomeSort by relevance Sort by last modified time
    Searched refs:log1p (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /external/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/generated/
TestLog1p.rs 24 return log1p(inV);
28 return log1p(inV);
32 return log1p(inV);
36 return log1p(inV);
  /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...]
catrig.c 108 * log(A + sqrt(A*A-1)) = log1p((A-1) + sqrt((A-1)*(A+1)))
175 * rx = log1p(Am1 + sqrt(Am1*(A+1)))
189 *rx = log1p(Am1 + sqrt(Am1 * (A + 1)));
200 *rx = log1p((y - 1) + sqrt((y - 1) * (y + 1)));
556 * = log1p(4*x / |z-1|^2) / 4
617 rx = log1p(4 * ax / sum_squares(ax - 1, ay)) / 4;
  /bionic/libm/x86/
s_log1p.S 48 // log1p(NaN) = quiet NaN, and raise invalid exception
49 // log1p(+INF) = that INF
50 // log1p(x) = NaN if x < -1 or x = -INF, and raises invalid exception
51 // log1p(-1) = -INF, and raises divide-by-zero exception
52 // log1p(+/-0) = +/-0
72 # -- Begin log1p
73 ENTRY(log1p) function
265 END(log1p)
266 # -- End log1p
269 ALIAS_SYMBOL(log1pl, log1p);
    [all...]
  /libcore/luni/src/main/native/
java_lang_Math.cpp 115 return log1p(a);
138 NATIVE_METHOD(Math, log1p, "!(D)D"),
  /bionic/libm/x86_64/
s_log1p.S 48 // log1p(NaN) = quiet NaN, and raise invalid exception
49 // log1p(+INF) = that INF
50 // log1p(x) = NaN if x < -1 or x = -INF, and raises invalid exception
51 // log1p(-1) = -INF, and raises divide-by-zero exception
52 // log1p(+/-0) = +/-0
57 # -- Begin log1p
58 ENTRY(log1p) function
244 END(log1p)
245 # -- End log1p
  /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/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...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
BetaDistributionImpl.java 163 double log1mX = FastMath.log1p(-x);
  /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...]

Completed in 598 milliseconds

1 2 3 4 5 6 7 8