/external/opencv3/modules/imgproc/src/ |
D | matchcontours.cpp | 78 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/ |
D | math-log2-log10.js | 30 [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/ |
D | BigIntegerMathTest.java | 158 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 …]
|
D | IntMathTest.java | 66 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()
|
D | LongMathTest.java | 60 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/ |
D | float-intrinsics.ll | 6 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/ |
D | cvmatchcontours.cpp | 129 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/ |
D | lpc_analysis.c | 141 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/ |
D | arm64-vfloatintrinsics.ll | 54 ; 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 …]
|
D | illegal-float-ops.ll | 117 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)
|
D | arm64-illegal-float-ops.ll | 117 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/ |
D | vfloatintrinsics.ll | 56 ; 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/ |
D | test_unit_rotation.c | 65 snr0 = 20*log10(ener/err); in test_rotation() 73 snr = 20*log10(ener/err); in test_rotation()
|
D | test_unit_mdct.c | 76 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/ |
D | log10.pass.cpp | 25 assert(log10(c) == x); in test() 41 std::complex<double> r = log10(x[i]); in test_edges()
|
/external/opencv3/3rdparty/openexr/Imath/ |
D | ImathMath.h | 105 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/ |
D | fp-libcall.ll | 176 %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/ |
D | BigIntegerMathRoundingBenchmark.java | 63 @Benchmark int log10(int reps) { in log10() method in BigIntegerMathRoundingBenchmark 67 tmp += BigIntegerMath.log10(positive[j], mode); in log10()
|
D | LongMathRoundingBenchmark.java | 63 @Benchmark int log10(int reps) { in log10() method in LongMathRoundingBenchmark 67 tmp += LongMath.log10(positive[j], mode); in log10()
|
D | IntMathRoundingBenchmark.java | 63 @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/ |
D | frontend_wrappers.py | 32 numerator = math.log10(1-(total_sleep/delay_sec)*(1-backoff)) 33 denominator = math.log10(backoff)
|
/external/fio/ |
D | tickmarks.c | 22 exp = floor(log10(x)); in nicenum() 105 nfrac = MAX(-floor(log10(d)), 0); in calc_tickmarks()
|
/external/llvm/test/CodeGen/X86/ |
D | limited-prec.ll | 56 %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/ |
D | vpx_psnr.c | 19 const double psnr = 10.0 * log10(samples * peak * peak / sse); in vpx_sse_to_psnr()
|
/external/parameter-framework/upstream/test/test-fixed-point-parameter/ |
D | Main.py | 35 from math import log10 91 littleValue = 10 ** -(int(fractional * log10(2)))
|