Home
last modified time | relevance | path

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

12345

/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-LABEL: 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/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dlpc_analysis.c141 chng = 0.25 * (fabs(10.0 * log10(nrg[3] / nrg[2])) + in WebRtcIsac_GetVars()
142 fabs(10.0 * log10(nrg[2] / nrg[1])) + in WebRtcIsac_GetVars()
143 fabs(10.0 * log10(nrg[1] / nrg[0])) + in WebRtcIsac_GetVars()
144 fabs(10.0 * log10(nrg[0] / *oldEnergy))); in WebRtcIsac_GetVars()
193 chng = 0.25 * (fabs(10.0 * log10(nrg[3] / nrg[2])) + in WebRtcIsac_GetVarsUB()
194 fabs(10.0 * log10(nrg[2] / nrg[1])) + in WebRtcIsac_GetVarsUB()
195 fabs(10.0 * log10(nrg[1] / nrg[0])) + in WebRtcIsac_GetVarsUB()
196 fabs(10.0 * log10(nrg[0] / *oldEnergy))); in WebRtcIsac_GetVarsUB()
/external/llvm/test/CodeGen/ARM/
Dvfloatintrinsics.ll56 ; CHECK: test_v2f32.log10:
57 define %v2f32 @test_v2f32.log10(%v2f32 %a) {
59 %1 = call %v2f32 @llvm.log10.v2f32(%v2f32 %a)
119 declare %v2f32 @llvm.log10.v2f32(%v2f32) #0
180 ; CHECK: test_v4f32.log10:
181 define %v4f32 @test_v4f32.log10(%v4f32 %a) {
183 %1 = call %v4f32 @llvm.log10.v4f32(%v4f32 %a)
243 declare %v4f32 @llvm.log10.v4f32(%v4f32) #0
304 ; CHECK: test_v2f64.log10:
305 define %v2f64 @test_v2f64.log10(%v2f64 %a) {
[all …]
/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/chromium_org/third_party/opus/src/celt/tests/
Dtest_unit_rotation.c65 snr0 = 20*log10(ener/err); in test_rotation()
73 snr = 20*log10(ener/err); in test_rotation()
Dtest_unit_mdct.c76 snr = 10*log10(sigpow/errpow); in check()
106 snr = 10*log10(sigpow/errpow); in check_inv()
/external/llvm/test/CodeGen/AArch64/
Dillegal-float-ops.ll117 declare float @llvm.log10.f32(float)
118 declare double @llvm.log10.f64(double)
119 declare fp128 @llvm.log10.f128(fp128)
124 %log10float = call float @llvm.log10.f32(float %float)
128 %log10double = call double @llvm.log10.f64(double %double)
130 ; CHECK: bl log10
132 %log10fp128 = call fp128 @llvm.log10.f128(fp128 %fp128)
/external/chromium_org/chrome/browser/speech/
Dtts_linux.cc186 libspeechd_loader_.spd_set_voice_rate(conn_, 100 * log10(rate) / log10(3)); in Speak()
187 libspeechd_loader_.spd_set_voice_pitch(conn_, 100 * log10(pitch) / log10(3)); in Speak()
/external/stlport/src/
Dcomplex.cpp225 r._M_re = ::log10(::hypot(z._M_re, z._M_im)); in log10T()
229 _STLP_DECLSPEC complex<float> _STLP_CALL log10(const complex<float>& z) in log10() function
235 _STLP_DECLSPEC complex<double> _STLP_CALL log10(const complex<double>& z) in log10() function
237 const double LN10_INV = 1. / ::log10(10.); in log10()
242 _STLP_DECLSPEC complex<long double> _STLP_CALL log10(const complex<long double>& z) in log10() function
/external/libvpx/libvpx/vp8/encoder/
Dpsnr.c23 psnr = 10.0 * log10(Peak * Peak * Samples / Mse); in vp8_mse2psnr()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_psnr.c21 psnr = 10.0 * log10(peak * peak * samples / mse); in vp9_mse2psnr()
/external/openfst/src/extensions/far/
Dstrings.cc37 return nline ? ceil(log10(nline + 1)) : 1; in KeySize()
/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/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/libvpx/libvpx/test/
Dutil.h43 psnr = 10 * log10(255.0 * 255.0 / mse); in compute_psnr()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DFFTFrame.cpp109 double mag1db = 20.0 * log10(mag1); in interpolateFrequencyComponents()
110 double mag2db = 20.0 * log10(mag2); in interpolateFrequencyComponents()

12345