Home
last modified time | relevance | path

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

123456

/external/opencv3/modules/imgproc/src/
Dmatchcontours.cpp78 ama = 1. / (sma * log10( ama )); in matchShapes()
79 amb = 1. / (smb * log10( amb )); in matchShapes()
106 ama = sma * log10( ama ); in matchShapes()
107 amb = smb * log10( amb ); in matchShapes()
134 ama = sma * log10( ama ); in matchShapes()
135 amb = smb * log10( amb ); in matchShapes()
/external/v8/test/mjsunit/es6/
Dmath-log2-log10.js30 [Math.log10, Math.log2].forEach( function(fun) {
45 assertEquals(i, Math.log10(Math.pow(10, i)));
51 assertEquals(-307.77759430519706, Math.log10(1.5 * Math.pow(2, -1023)));
54 assertEqualsDelta(-9.643274665532873e-17, Math.log10(1-Number.EPSILON), 3e-32);
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java158 BigIntegerMath.log10(ZERO, mode); in testLog10ZeroAlwaysThrows()
168 BigIntegerMath.log10(BigInteger.valueOf(-1), mode); in testLog10NegativeAlwaysThrows()
178 int result = BigIntegerMath.log10(x, mode); in testLog10Floor()
189 int result = BigIntegerMath.log10(x, mode); in testLog10Ceiling()
200 int logFloor = BigIntegerMath.log10(x, FLOOR); in testLog10Exact()
203 assertEquals(logFloor, BigIntegerMath.log10(x, UNNECESSARY)); in testLog10Exact()
214 int result = BigIntegerMath.log10(x, HALF_UP); in testLog10HalfUp()
226 int result = BigIntegerMath.log10(x, HALF_DOWN); in testLog10HalfDown()
239 int halfEven = BigIntegerMath.log10(x, HALF_EVEN); in testLog10HalfEven()
242 boolean floorWasEven = (BigIntegerMath.log10(x, FLOOR) & 1) == 0; in testLog10HalfEven()
[all …]
DIntMathTest.java66 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
168 IntMath.log10(0, mode); in testLog10ZeroAlwaysThrows()
179 IntMath.log10(x, mode); in testLog10NegativeAlwaysThrows()
192 assertEquals(BigIntegerMath.log10(valueOf(x), mode), IntMath.log10(x, mode)); in testLog10MatchesBigInteger()
201 int floor = IntMath.log10(x, FLOOR); in testLog10Exact()
204 assertEquals(floor, IntMath.log10(x, UNNECESSARY)); in testLog10Exact()
216 assertEquals(6, IntMath.log10(x, mode)); in testLog10TrivialOnPowerOfTen()
DLongMathTest.java60 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
222 LongMath.log10(0L, mode); in testLog10ZeroAlwaysThrows()
233 LongMath.log10(x, mode); in testLog10NegativeAlwaysThrows()
245 assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode)); in testLog10MatchesBigInteger()
254 int floor = LongMath.log10(x, FLOOR); in testLog10Exact()
257 assertEquals(floor, LongMath.log10(x, UNNECESSARY)); in testLog10Exact()
269 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/webrtc/webrtc/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/AArch64/
Darm64-vfloatintrinsics.ll54 ; CHECK: test_v2f32.log10:
55 define %v2f32 @test_v2f32.log10(%v2f32 %a) {
57 %1 = call %v2f32 @llvm.log10.v2f32(%v2f32 %a)
117 declare %v2f32 @llvm.log10.v2f32(%v2f32) #0
178 ; CHECK: test_v4f32.log10:
179 define %v4f32 @test_v4f32.log10(%v4f32 %a) {
181 %1 = call %v4f32 @llvm.log10.v4f32(%v4f32 %a)
241 declare %v4f32 @llvm.log10.v4f32(%v4f32) #0
302 ; CHECK: test_v2f64.log10:
303 define %v2f64 @test_v2f64.log10(%v2f64 %a) {
[all …]
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)
Darm64-illegal-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/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/libopus/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/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dlog10.pass.cpp25 assert(log10(c) == x); in test()
41 std::complex<double> r = log10(x[i]); in test_edges()
/external/opencv3/3rdparty/openexr/Imath/
DImathMath.h105 static T log10 (T x) {return ::log10 (double(x));} in log10() function
138 static float log10 (float x) {return ::log10f (x);}
/external/llvm/test/CodeGen/SystemZ/
Dfp-libcall.ll176 %tmp = call float @llvm.log10.f32(float %x)
182 ; CHECK: brasl %r14, log10@PLT
183 %tmp = call double @llvm.log10.f64(double %x)
190 %tmp = call fp128 @llvm.log10.f128(fp128 %x)
263 declare float @llvm.log10.f32(float)
264 declare double @llvm.log10.f64(double)
265 declare fp128 @llvm.log10.f128(fp128)
/external/guava/guava-tests/benchmark/com/google/common/math/
DBigIntegerMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { in log10() method in BigIntegerMathRoundingBenchmark
67 tmp += BigIntegerMath.log10(positive[j], mode); in log10()
DLongMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { in log10() method in LongMathRoundingBenchmark
67 tmp += LongMath.log10(positive[j], mode); in log10()
DIntMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { in log10() method in IntMathRoundingBenchmark
67 tmp += IntMath.log10(positive[j], mode); in log10()
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py32 numerator = math.log10(1-(total_sleep/delay_sec)*(1-backoff))
33 denominator = math.log10(backoff)
/external/fio/
Dtickmarks.c22 exp = floor(log10(x)); in nicenum()
105 nfrac = MAX(-floor(log10(d)), 0); in calc_tickmarks()
/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/vpx/src/
Dvpx_psnr.c19 const double psnr = 10.0 * log10(samples * peak * peak / sse); in vpx_sse_to_psnr()
/external/parameter-framework/upstream/test/test-fixed-point-parameter/
DMain.py35 from math import log10
91 littleValue = 10 ** -(int(fractional * log10(2)))

123456