Home
last modified time | relevance | path

Searched refs:log10 (Results 1 – 25 of 63) sorted by relevance

123

/external/stlport/stlport/stl/config/
D_como.h93 # define log10l log10
123 # define log10f log10
124 # define log10l log10
166 # define log10l log10
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java157 BigIntegerMath.log10(ZERO, mode); in testLog10ZeroAlwaysThrows()
167 BigIntegerMath.log10(x.negate(), mode); in testLog10NegativeAlwaysThrows()
177 int result = BigIntegerMath.log10(x, mode); in testLog10Floor()
187 int result = BigIntegerMath.log10(x, mode); in testLog10Ceiling()
197 int logFloor = BigIntegerMath.log10(x, FLOOR); in testLog10Exact()
200 assertEquals(logFloor, BigIntegerMath.log10(x, UNNECESSARY)); in testLog10Exact()
210 int result = BigIntegerMath.log10(x, HALF_UP); in testLog10HalfUp()
221 int result = BigIntegerMath.log10(x, HALF_DOWN); in testLog10HalfDown()
233 int halfEven = BigIntegerMath.log10(x, HALF_EVEN); in testLog10HalfEven()
236 boolean floorWasEven = (BigIntegerMath.log10(x, FLOOR) & 1) == 0; in testLog10HalfEven()
[all …]
DIntMathTest.java148 IntMath.log10(0, mode); in testLog10ZeroAlwaysThrows()
159 IntMath.log10(x, mode); in testLog10NegativeAlwaysThrows()
172 assertEquals(BigIntegerMath.log10(valueOf(x), mode), IntMath.log10(x, mode)); in testLog10MatchesBigInteger()
181 int floor = IntMath.log10(x, FLOOR); in testLog10Exact()
184 assertEquals(floor, IntMath.log10(x, UNNECESSARY)); in testLog10Exact()
196 assertEquals(6, IntMath.log10(x, mode)); in testLog10TrivialOnPowerOfTen()
DLongMathTest.java186 LongMath.log10(0L, mode); in testLog10ZeroAlwaysThrows()
196 LongMath.log10(x, mode); in testLog10NegativeAlwaysThrows()
207 assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode)); in testLog10MatchesBigInteger()
215 int floor = LongMath.log10(x, FLOOR); in testLog10Exact()
218 assertEquals(floor, LongMath.log10(x, UNNECESSARY)); in testLog10Exact()
229 assertEquals(12, LongMath.log10(x, mode)); in testLog10TrivialOnPowerOf10()
/external/llvm/test/CodeGen/XCore/
Dfloat-intrinsics.ll6 declare double @llvm.log10.f64(double)
77 define double @log10(double %F) {
78 ; CHECK: log10:
79 ; CHECK: bl log10
80 %result = call double @llvm.log10.f64(double %F)
84 declare float @llvm.log10.f32(float)
89 %result = call float @llvm.log10.f32(float %F)
/external/opencv/cv/src/
Dcvmatchcontours.cpp129 ama = 1. / (sma * log10( ama )); in cvMatchShapes()
130 amb = 1. / (smb * log10( amb )); in cvMatchShapes()
159 ama = sma * log10( ama ); in cvMatchShapes()
160 amb = smb * log10( amb ); in cvMatchShapes()
189 ama = sma * log10( ama ); in cvMatchShapes()
190 amb = smb * log10( amb ); in cvMatchShapes()
/external/openfst/src/include/fst/extensions/far/
Dinfo.h106 if (ceil(log10(info.nstate)) + 2 > wnstate) in FarInfo()
107 wnstate = ceil(log10(info.nstate)) + 2; in FarInfo()
108 if (ceil(log10(info.narc)) + 2 > wnarc) in FarInfo()
109 wnarc = ceil(log10(info.narc)) + 2; in FarInfo()
/external/stlport/test/unit/
Dvalarray_test.cpp55 tmp = log10(darray); in transcendentals()
81 tmp = log10(farray); in transcendentals()
108 tmp = log10(ldarray); in transcendentals()
Dcmath_test.cpp93 CPPUNIT_CHECK( are_equals(std::log10(100.0), 2.0) ); in import_checks()
118 CPPUNIT_CHECK( are_equals(std::log10(100.0f), 2.0f) ); in import_checks()
144 CPPUNIT_CHECK( are_equals(std::log10(100.0l), 2.0l) ); in import_checks()
/external/stlport/src/
Dcomplex.cpp225 r._M_re = ::log10(::hypot(z._M_re, z._M_im)); in log10T()
230 _STLP_DECLSPEC complex<float> _STLP_CALL log10(const complex<float>& z) in log10() function
233 static const double LN10_INV = 1. / ::log10(10.);
234 _STLP_DECLSPEC complex<double> _STLP_CALL log10(const complex<double>& z) in log10() function
239 _STLP_DECLSPEC complex<long double> _STLP_CALL log10(const complex<long double>& z) in log10() function
/external/stlport/stlport/stl/
D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh…
375 _STLP_DMATH_INLINE(log10) in _STLP_DMATH_INLINE()
446 _STLP_DEF_MATH_INLINE(log10, log10)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sin…
583 using ::log10;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStrictMathTest.java522 .log10(Double.NaN))); in test_log10_D()
524 .log10(-2541.05745687234187532))); in test_log10_D()
527 .log10(Double.POSITIVE_INFINITY)); in test_log10_D()
529 Double.NEGATIVE_INFINITY, StrictMath.log10(0.0)); in test_log10_D()
531 Double.NEGATIVE_INFINITY, StrictMath.log10(+0.0)); in test_log10_D()
533 Double.NEGATIVE_INFINITY, StrictMath.log10(-0.0)); in test_log10_D()
534 assertEquals("Should return 14.0", 14.0, StrictMath.log10(StrictMath in test_log10_D()
538 StrictMath.log10(5482.2158)); in test_log10_D()
540 StrictMath.log10(458723662312872.125782332587)); in test_log10_D()
542 StrictMath.log10(0.12348583358871)); in test_log10_D()
[all …]
DMathTest.java574 assertTrue(Double.isNaN(Math.log10(Double.NaN))); in test_log10_D()
575 assertTrue(Double.isNaN(Math.log10(-2541.05745687234187532))); in test_log10_D()
576 assertTrue(Double.isNaN(Math.log10(-0.1))); in test_log10_D()
577 assertEquals(Double.POSITIVE_INFINITY, Math.log10(Double.POSITIVE_INFINITY)); in test_log10_D()
578 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(0.0)); in test_log10_D()
579 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(+0.0)); in test_log10_D()
580 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(-0.0)); in test_log10_D()
582 assertEquals(3.0, Math.log10(1000.0)); in test_log10_D()
583 assertEquals(14.0, Math.log10(Math.pow(10, 14))); in test_log10_D()
584 assertEquals(3.7389561269540406, Math.log10(5482.2158)); in test_log10_D()
[all …]
/external/libvpx/vp8/encoder/
Dpsnr.c23 psnr = 10.0 * log10(Peak * Peak * Samples / Mse); in vp8_mse2psnr()
/external/webkit/Source/WebCore/platform/audio/
DAudioUtilities.cpp49 return 20.0 * log10(linear); in linearToDecibels()
DFFTFrame.cpp108 double mag1db = 20.0 * log10(mag1); in interpolateFrequencyComponents()
109 double mag2db = 20.0 * log10(mag2); in interpolateFrequencyComponents()
/external/openfst/src/extensions/far/
Dcompile-strings.cc33 return nline ? ceil(log10(nline + 1)) : 1; in KeySize()
/external/llvm/test/CodeGen/X86/
Dlimited-prec.ll56 %0 = call float @llvm.log10.f32(float %x) ; <float> [#uses=1]
60 declare float @llvm.log10.f32(float) nounwind readonly
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DDefaultMapStorage.java56 possibleLengths.add((int) Math.log10(prefix) + 1); in readFromSortedMap()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DHDRLoader.java71 double exp = Math.ceil( Math.log10(max) / Math.log10(2) ); in convertFloatToRGBE()
/external/chromium-trace/trace-viewer/src/tracks/
Dtimeline_viewport_track.js24 function log10(x) { function
146 Math.pow(10, Math.ceil(log10(idealMajorMarkDistanceWorld)));
/external/llvm/test/Transforms/SimplifyLibCalls/
Ddouble-float-shrink.ll189 %call = call double @log10(double %conv)
198 %call = call double @log10(double %conv)
200 ; CHECK: call double @log10(double %conv)
321 declare double @log10(double) nounwind readnone
/external/webrtc/src/modules/audio_processing/
Dlevel_estimator_impl.cc61 rms = 10 * log10(rms); in RMS()
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java126 public static int log10(BigInteger x, RoundingMode mode) { in log10() method in BigIntegerMath
129 return LongMath.log10(x.longValue(), mode); in log10()
DLongMath.java112 public static int log10(long x, RoundingMode mode) { in log10() method in LongMath
115 return IntMath.log10((int) x, mode); in log10()

123