/external/libvpx/vp8/encoder/ |
H A D | psnr.c | 23 psnr = 10.0 * log10(Peak * Peak * Samples / Mse);
|
/external/openfst/src/extensions/far/ |
H A D | compile-strings.cc | 33 return nline ? ceil(log10(nline + 1)) : 1;
|
/external/webkit/Source/WebCore/platform/audio/ |
H A D | AudioUtilities.cpp | 49 return 20.0 * log10(linear);
|
H A D | FFTFrame.cpp | 108 double mag1db = 20.0 * log10(mag1); 109 double mag2db = 20.0 * log10(mag2);
|
/external/stlport/stlport/stl/config/ |
H A D | _como.h | 93 # define log10l log10 123 # define log10f log10 124 # define log10l log10 166 # define log10l log10
|
/external/openfst/src/include/fst/extensions/far/ |
H A D | info.h | 106 if (ceil(log10(info.nstate)) + 2 > wnstate) 107 wnstate = ceil(log10(info.nstate)) + 2; 108 if (ceil(log10(info.narc)) + 2 > wnarc) 109 wnarc = ceil(log10(info.narc)) + 2;
|
/external/guava/guava-tests/test/com/google/common/math/ |
H A D | BigIntegerMathTest.java | 157 BigIntegerMath.log10(ZERO, mode); 167 BigIntegerMath.log10(x.negate(), mode); 177 int result = BigIntegerMath.log10(x, mode); 187 int result = BigIntegerMath.log10(x, mode); 194 // Relies on the correctness of log10(BigInteger, FLOOR). 197 int logFloor = BigIntegerMath.log10(x, FLOOR); 200 assertEquals(logFloor, BigIntegerMath.log10(x, UNNECESSARY)); 210 int result = BigIntegerMath.log10(x, HALF_UP); 221 int result = BigIntegerMath.log10(x, HALF_DOWN); 230 // Relies on the correctness of log10(BigIntege [all...] |
H A D | IntMathTest.java | 144 @GwtIncompatible("log10") 148 IntMath.log10(0, mode); 154 @GwtIncompatible("log10") 159 IntMath.log10(x, mode); 166 // Relies on the correctness of BigIntegerMath.log10 for all modes except UNNECESSARY. 172 assertEquals(BigIntegerMath.log10(valueOf(x), mode), IntMath.log10(x, mode)); 177 // Relies on the correctness of log10(int, FLOOR) and of pow(int, int). 181 int floor = IntMath.log10(x, FLOOR); 184 assertEquals(floor, IntMath.log10( [all...] |
H A D | LongMathTest.java | 186 LongMath.log10(0L, mode); 196 LongMath.log10(x, mode); 203 // Relies on the correctness of BigIntegerMath.log10 for all modes except UNNECESSARY. 207 assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode)); 212 // Relies on the correctness of log10(long, FLOOR) and of pow(long, int). 215 int floor = LongMath.log10(x, FLOOR); 218 assertEquals(floor, LongMath.log10(x, UNNECESSARY)); 229 assertEquals(12, LongMath.log10(x, mode));
|
/external/stlport/test/unit/ |
H A D | valarray_test.cpp | 55 tmp = log10(darray); 81 tmp = log10(farray); 108 tmp = log10(ldarray);
|
H A D | cmath_test.cpp | 93 CPPUNIT_CHECK( are_equals(std::log10(100.0), 2.0) ); 118 CPPUNIT_CHECK( are_equals(std::log10(100.0f), 2.0f) ); 144 CPPUNIT_CHECK( are_equals(std::log10(100.0l), 2.0l) );
|
/external/opencv/cv/src/ |
H A D | cvmatchcontours.cpp | 129 ama = 1. / (sma * log10( ama )); 130 amb = 1. / (smb * log10( amb )); 159 ama = sma * log10( ama ); 160 amb = smb * log10( amb ); 189 ama = sma * log10( ama ); 190 amb = smb * log10( amb );
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
H A D | DefaultMapStorage.java | 56 possibleLengths.add((int) Math.log10(prefix) + 1);
|
/external/stlport/src/ |
H A D | complex.cpp | 219 // log10 225 r._M_re = ::log10(::hypot(z._M_re, z._M_im)); 230 _STLP_DECLSPEC complex<float> _STLP_CALL log10(const complex<float>& z) function 233 static const double LN10_INV = 1. / ::log10(10.); 234 _STLP_DECLSPEC complex<double> _STLP_CALL log10(const complex<double>& z) function 239 _STLP_DECLSPEC complex<long double> _STLP_CALL log10(const complex<long double>& z) function
|
/external/stlport/stlport/stl/ |
H A D | _cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 375 _STLP_DMATH_INLINE(log10) 446 _STLP_DEF_MATH_INLINE(log10, log10) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 583 using ::log10;
|
/external/webrtc/src/modules/audio_processing/ |
H A D | level_estimator_impl.cc | 61 rms = 10 * log10(rms);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
H A D | StrictMathTest.java | 516 * @tests java.lang.StrictMath#log10(double) 522 .log10(Double.NaN))); 524 .log10(-2541.05745687234187532))); 527 .log10(Double.POSITIVE_INFINITY)); 529 Double.NEGATIVE_INFINITY, StrictMath.log10(0.0)); 531 Double.NEGATIVE_INFINITY, StrictMath.log10(+0.0)); 533 Double.NEGATIVE_INFINITY, StrictMath.log10(-0.0)); 534 assertEquals("Should return 14.0", 14.0, StrictMath.log10(StrictMath 538 StrictMath.log10(5482.2158)); 540 StrictMath.log10(458723662312872.12578233258 [all...] |
H A D | MathTest.java | 569 * @tests java.lang.Math#log10(double) 574 assertTrue(Double.isNaN(Math.log10(Double.NaN))); 575 assertTrue(Double.isNaN(Math.log10(-2541.05745687234187532))); 576 assertTrue(Double.isNaN(Math.log10(-0.1))); 577 assertEquals(Double.POSITIVE_INFINITY, Math.log10(Double.POSITIVE_INFINITY)); 578 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(0.0)); 579 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(+0.0)); 580 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(-0.0)); 582 assertEquals(3.0, Math.log10(1000.0)); 583 assertEquals(14.0, Math.log10(Mat [all...] |
/external/chromium-trace/trace-viewer/src/tracks/ |
H A D | timeline_viewport_track.js | 24 function log10(x) { 146 Math.pow(10, Math.ceil(log10(idealMajorMarkDistanceWorld)));
|
/external/valgrind/main/memcheck/tests/ |
H A D | vcpu_fnfns.c | 119 printf("log10D(%+20.13e) = %+20.13e\n", d, log10(d));
|
/external/guava/guava/src/com/google/common/math/ |
H A D | BigIntegerMath.java | 126 public static int log10(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath 129 return LongMath.log10(x.longValue(), mode); 165 // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5
|
H A D | LongMath.java | 112 public static int log10(long x, RoundingMode mode) { method in class:LongMath 115 return IntMath.log10((int) x, mode); 132 // sqrt(10) is irrational, so log10(x)-logFloor is never exactly 0.5
|
H A D | IntMath.java | 117 public static int log10(int x, RoundingMode mode) { method in class:IntMath 134 // sqrt(10) is irrational, so log10(x) - logFloor is never exactly 0.5
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
H A D | HDRLoader.java | 71 double exp = Math.ceil( Math.log10(max) / Math.log10(2) );
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
H A D | NavCalculator.java | 245 float m1 = (float) (7915.7045 * Math.log10(Math.tan(Math.toRadians(45 + (absLat1 / 2)))) 248 float m2 = (float) (7915.7045 * Math.log10(Math.tan(Math.toRadians(45 + (absLat2 / 2))))
|