/external/guava/guava-tests/test/com/google/common/math/ |
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(BigInteger, {HALF_UP,HALF_DOWN}) [all...] |
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(x, UNNECESSARY)) [all...] |
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/ |
valarray_test.cpp | 55 tmp = log10(darray); 81 tmp = log10(farray); 108 tmp = log10(ldarray);
|
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) );
|
/ndk/tests/device/test-gnustl-full/unit/ |
valarray_test.cpp | 55 tmp = log10(darray); 81 tmp = log10(farray); 108 tmp = log10(ldarray);
|
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) );
|
/ndk/tests/device/test-stlport/unit/ |
valarray_test.cpp | 55 tmp = log10(darray); 81 tmp = log10(farray); 108 tmp = log10(ldarray);
|
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/ |
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/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
lpc_analysis.c | 141 chng = 0.25 * (fabs(10.0 * log10(nrg[3] / nrg[2])) + 142 fabs(10.0 * log10(nrg[2] / nrg[1])) + 143 fabs(10.0 * log10(nrg[1] / nrg[0])) + 144 fabs(10.0 * log10(nrg[0] / *oldEnergy))); 193 chng = 0.25 * (fabs(10.0 * log10(nrg[3] / nrg[2])) + 194 fabs(10.0 * log10(nrg[2] / nrg[1])) + 195 fabs(10.0 * log10(nrg[1] / nrg[0])) + 196 fabs(10.0 * log10(nrg[0] / *oldEnergy)));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMathTest.java | 286 assertTrue(Double.isNaN(Math.log10(Double.NaN))); 287 assertTrue(Double.isNaN(Math.log10(-2541.05745687234187532))); 288 assertTrue(Double.isNaN(Math.log10(-0.1))); 289 assertEquals(Double.POSITIVE_INFINITY, Math.log10(Double.POSITIVE_INFINITY)); 290 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(0.0)); 291 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(+0.0)); 292 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(-0.0)); 294 assertEquals(3.0, Math.log10(1000.0)); 295 assertEquals(14.0, Math.log10(Math.pow(10, 14))); 296 assertEquals(3.7389561269540406, Math.log10(5482.2158)) [all...] |
OldAndroidStrictMathTest.java | 287 .log10(Double.NaN))); 289 .log10(-2541.05745687234187532))); 292 .log10(Double.POSITIVE_INFINITY)); 294 Double.NEGATIVE_INFINITY, StrictMath.log10(0.0)); 296 Double.NEGATIVE_INFINITY, StrictMath.log10(+0.0)); 298 Double.NEGATIVE_INFINITY, StrictMath.log10(-0.0)); 299 assertEquals("Should return 14.0", 14.0, StrictMath.log10(StrictMath 303 StrictMath.log10(5482.2158)); 305 StrictMath.log10(458723662312872.125782332587)); 307 StrictMath.log10(0.12348583358871)) [all...] |
/libcore/luni/src/main/native/ |
java_lang_Math.cpp | 87 return log10(a); 124 NATIVE_METHOD(Math, log10, "!(D)D"),
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
DefaultMapStorage.java | 56 possibleLengths.add((int) Math.log10(prefix) + 1);
|
/external/libvpx/libvpx/test/ |
cq_test.cc | 64 double avg_psnr = log10(psnr_ / n_frames_) * 10.0;
|
/external/stlport/src/ |
complex.cpp | 219 // log10 225 r._M_re = ::log10(::hypot(z._M_re, z._M_im)); 229 _STLP_DECLSPEC complex<float> _STLP_CALL log10(const complex<float>& z) function 235 _STLP_DECLSPEC complex<double> _STLP_CALL log10(const complex<double>& z) function 237 const double LN10_INV = 1. / ::log10(10.); 242 _STLP_DECLSPEC complex<long double> _STLP_CALL log10(const complex<long double>& z) function
|
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 219 // log10 225 r._M_re = ::log10(::hypot(z._M_re, z._M_im)); 229 _STLP_DECLSPEC complex<float> _STLP_CALL log10(const complex<float>& z) function 235 _STLP_DECLSPEC complex<double> _STLP_CALL log10(const complex<double>& z) function 237 const double LN10_INV = 1. / ::log10(10.); 242 _STLP_DECLSPEC complex<long double> _STLP_CALL log10(const complex<long double>& z) function
|
/external/stlport/stlport/stl/ |
_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;
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_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;
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_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;
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_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;
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_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;
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_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;
|
/bionic/libm/ |
fake_long_double.c | 53 long double log10l(long double a1) { return log10(a1); }
|