/external/python/cpython3/Lib/test/decimaltestdata/ |
D | log10.decTest | 2 -- log10.decTest -- decimal logarithm in base 10 -- 33 logxs000 log10 0 -> -Infinity 34 logxs001 log10 0.001 -> -3 35 logxs002 log10 1 -> 0 36 logxs003 log10 2 -> 0.301029996 Inexact Rounded 37 logxs004 log10 10 -> 1 38 logxs005 log10 70 -> 1.84509804 Inexact Rounded 39 logxs006 log10 +Infinity -> Infinity 44 logx0000 log10 0 -> -Infinity 45 logx0001 log10 7E-1000 -> -999.1549019599857 Inexact Rounded [all …]
|
/external/python/cpython2/Lib/test/decimaltestdata/ |
D | log10.decTest | 2 -- log10.decTest -- decimal logarithm in base 10 -- 33 logxs000 log10 0 -> -Infinity 34 logxs001 log10 0.001 -> -3 35 logxs002 log10 1 -> 0 36 logxs003 log10 2 -> 0.301029996 Inexact Rounded 37 logxs004 log10 10 -> 1 38 logxs005 log10 70 -> 1.84509804 Inexact Rounded 39 logxs006 log10 +Infinity -> Infinity 44 logx0000 log10 0 -> -Infinity 45 logx0001 log10 7E-1000 -> -999.1549019599857 Inexact Rounded [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | legalize-log10.mir | 6 name: test_v4f16.log10 15 ; CHECK-LABEL: name: test_v4f16.log10 21 ; CHECK-NEXT: BL &log10 29 ; CHECK-NEXT: BL &log10 37 ; CHECK-NEXT: BL &log10 45 ; CHECK-NEXT: BL &log10 59 name: test_v8f16.log10 69 ; CHECK-LABEL: name: test_v8f16.log10 71 ; This is big, so let's just check for the 8 calls to log10, the the 76 ; CHECK: BL &log10 [all …]
|
/external/python/cpython2/Lib/test/ |
D | cmath_testcases.txt | 1240 -- log10: Logarithm base 10 -- 1243 logt0000 log10 1.0 0.0 -> 0.0 0.0 1244 logt0001 log10 1.0 -0.0 -> 0.0 -0.0 1245 logt0002 log10 -1.0 0.0 -> 0.0 1.3643763538418414 1246 logt0003 log10 -1.0 -0.0 -> 0.0 -1.3643763538418414 1248 logt0010 log10 -9.8813129168249309e-324 0.0 -> -323.0051853474518 1.3643763538418414 1249 logt0011 log10 -9.8813129168249309e-324 -0.0 -> -323.0051853474518 -1.3643763538418414 1250 logt0012 log10 -1e-305 0.0 -> -305.0 1.3643763538418414 1251 logt0013 log10 -1e-305 -0.0 -> -305.0 -1.3643763538418414 1252 logt0014 log10 -1e-150 0.0 -> -150.0 1.3643763538418414 [all …]
|
/external/python/cpython3/Lib/test/ |
D | cmath_testcases.txt | 1260 -- log10: Logarithm base 10 -- 1263 logt0000 log10 1.0 0.0 -> 0.0 0.0 1264 logt0001 log10 1.0 -0.0 -> 0.0 -0.0 1265 logt0002 log10 -1.0 0.0 -> 0.0 1.3643763538418414 1266 logt0003 log10 -1.0 -0.0 -> 0.0 -1.3643763538418414 1268 logt0010 log10 -9.8813129168249309e-324 0.0 -> -323.0051853474518 1.3643763538418414 1269 logt0011 log10 -9.8813129168249309e-324 -0.0 -> -323.0051853474518 -1.3643763538418414 1270 logt0012 log10 -1e-305 0.0 -> -305.0 1.3643763538418414 1271 logt0013 log10 -1e-305 -0.0 -> -305.0 -1.3643763538418414 1272 logt0014 log10 -1e-150 0.0 -> -150.0 1.3643763538418414 [all …]
|
/external/llvm-project/llvm/test/Transforms/Util/ |
D | add-TLI-mappings.ll | 45 define float @call_llvm.log10.f32(float %in) { 46 ; COMMON-LABEL: @call_llvm.log10.f32( 47 ; SVML: call float @llvm.log10.f32(float %{{.*}}) 48 ; LIBMVEC-X86: call float @llvm.log10.f32(float %{{.*}}) 49 ; MASSV: call float @llvm.log10.f32(float %{{.*}}) #[[LOG10:[0-9]+]] 50 ; ACCELERATE: call float @llvm.log10.f32(float %{{.*}}) #[[LOG10:[0-9]+]] 51 ; No mapping of "llvm.log10.f32" to a vector function for SVML. 52 ; SVML-NOT: _ZGV_LLVM_{{.*}}_llvm.log10.f32({{.*}}) 53 ; LIBMVEC-X86-NOT: _ZGV_LLVM_{{.*}}_llvm.log10.f32({{.*}}) 54 %call = tail call float @llvm.log10.f32(float %in) [all …]
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/ |
D | log10-pow10-intrinsic.ll | 4 declare double @llvm.log10.f64(double) 10 ; CHECK-NEXT: [[TMP2:%.*]] = call double @llvm.log10.f64(double [[TMP1]]) 14 %tmp1 = call double @llvm.log10.f64(double %tmp) 21 ; CHECK-NEXT: [[TMP2:%.*]] = call double @llvm.log10.f64(double [[TMP1]]) 25 %tmp1 = call double @llvm.log10.f64(double %tmp) 34 %tmp1 = call reassoc double @llvm.log10.f64(double %tmp) 43 %tmp1 = call reassoc double @llvm.log10.f64(double %tmp)
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | VecFuncs.def | 43 TLI_DEFINE_VECFUNC("llvm.log10.f32", "vlog10f", 4) 178 TLI_DEFINE_VECFUNC("log10", "__log10d2_massv", 2) 179 TLI_DEFINE_VECFUNC("llvm.log10.f64", "__log10d2_massv", 2) 181 TLI_DEFINE_VECFUNC("llvm.log10.f32", "__log10f4_massv", 4) 353 TLI_DEFINE_VECFUNC("log10", "__svml_log102", 2) 354 TLI_DEFINE_VECFUNC("log10", "__svml_log104", 4) 355 TLI_DEFINE_VECFUNC("log10", "__svml_log108", 8) 369 TLI_DEFINE_VECFUNC("llvm.log10.f64", "__svml_log102", 2) 370 TLI_DEFINE_VECFUNC("llvm.log10.f64", "__svml_log104", 4) 371 TLI_DEFINE_VECFUNC("llvm.log10.f64", "__svml_log108", 8) [all …]
|
/external/llvm-project/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/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/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | lpc_analysis.c | 105 chng = 0.25 * (fabs(10.0 * log10(nrg[3] / nrg[2])) + in WebRtcIsac_GetVars() 106 fabs(10.0 * log10(nrg[2] / nrg[1])) + in WebRtcIsac_GetVars() 107 fabs(10.0 * log10(nrg[1] / nrg[0])) + in WebRtcIsac_GetVars() 108 fabs(10.0 * log10(nrg[0] / *oldEnergy))); in WebRtcIsac_GetVars() 154 chng = 0.25 * (fabs(10.0 * log10(nrg[3] / nrg[2])) + in WebRtcIsac_GetVarsUB() 155 fabs(10.0 * log10(nrg[2] / nrg[1])) + in WebRtcIsac_GetVarsUB() 156 fabs(10.0 * log10(nrg[1] / nrg[0])) + in WebRtcIsac_GetVarsUB() 157 fabs(10.0 * log10(nrg[0] / *oldEnergy))); in WebRtcIsac_GetVarsUB()
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | llvm.log10.ll | 16 %res = call float @llvm.log10.f32(float %in) 41 %res = call <2 x float> @llvm.log10.v2f32(<2 x float> %in) 80 %res = call <4 x float> @llvm.log10.v4f32(<4 x float> %in) 85 declare float @llvm.log10.f32(float) readnone 86 declare <2 x float> @llvm.log10.v2f32(<2 x float>) readnone 87 declare <4 x float> @llvm.log10.v4f32(<4 x float>) readnone
|
D | llvm.log10.f16.ll | 5 declare half @llvm.log10.f16(half %a) 6 declare <2 x half> @llvm.log10.v2f16(<2 x half> %a) 26 %r.val = call half @llvm.log10.f16(half %a.val) 68 %r.val = call <2 x half> @llvm.log10.v2f16(<2 x half> %a.val)
|
/external/llvm-project/libclc/generic/include/clc/math/ |
D | log10.h | 1 #undef log10 4 #define __CLC_FUNCTION log10
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-vfloatintrinsics.ll | 102 ; FALLBACK-NOT: remark{{.*}}test_v4f16.log10 103 define %v4f16 @test_v4f16.log10(%v4f16 %a) { 105 ; CHECK-LABEL: test_v4f16.log10: 106 ; CHECK-COUNT-4: bl log10 107 ; GISEL-LABEL: test_v4f16.log10: 108 ; GISEL-COUNT-4: bl log10 109 %1 = call %v4f16 @llvm.log10.v4f16(%v4f16 %a) 257 declare %v4f16 @llvm.log10.v4f16(%v4f16) #0 359 ; FALLBACK-NOT: remark{{.*}}test_v8f16.log10 360 define %v8f16 @test_v8f16.log10(%v8f16 %a) { [all …]
|
D | illegal-float-ops.ll | 118 declare float @llvm.log10.f32(float) 119 declare double @llvm.log10.f64(double) 120 declare fp128 @llvm.log10.f128(fp128) 125 %log10float = call float @llvm.log10.f32(float %float) 129 %log10double = call double @llvm.log10.f64(double %double) 131 ; CHECK: bl log10 133 %log10fp128 = call fp128 @llvm.log10.f128(fp128 %fp128) 333 %log10double = call double @llvm.log10.f64(double %double) 336 ; CHECK: bl log10
|
/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)
|
/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/llvm-project/llvm/test/CodeGen/ARM/ |
D | vfloatintrinsics.ll | 56 ; CHECK-LABEL: 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-LABEL: 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-LABEL: test_v2f64.log10:{{.*}} 305 define %v2f64 @test_v2f64.log10(%v2f64 %a) { [all …]
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | BigIntegerMathTest.java | 220 BigIntegerMath.log10(ZERO, mode); in testLog10ZeroAlwaysThrows() 231 BigIntegerMath.log10(BigInteger.valueOf(-1), mode); in testLog10NegativeAlwaysThrows() 242 int result = BigIntegerMath.log10(x, mode); in testLog10Floor() 253 int result = BigIntegerMath.log10(x, mode); in testLog10Ceiling() 264 int logFloor = BigIntegerMath.log10(x, FLOOR); in testLog10Exact() 267 assertEquals(logFloor, BigIntegerMath.log10(x, UNNECESSARY)); in testLog10Exact() 278 int result = BigIntegerMath.log10(x, HALF_UP); in testLog10HalfUp() 290 int result = BigIntegerMath.log10(x, HALF_DOWN); in testLog10HalfDown() 303 int halfEven = BigIntegerMath.log10(x, HALF_EVEN); in testLog10HalfEven() 306 boolean floorWasEven = (BigIntegerMath.log10(x, FLOOR) & 1) == 0; in testLog10HalfEven() [all …]
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | BigIntegerMathTest.java | 220 BigIntegerMath.log10(ZERO, mode); in testLog10ZeroAlwaysThrows() 231 BigIntegerMath.log10(BigInteger.valueOf(-1), mode); in testLog10NegativeAlwaysThrows() 242 int result = BigIntegerMath.log10(x, mode); in testLog10Floor() 253 int result = BigIntegerMath.log10(x, mode); in testLog10Ceiling() 264 int logFloor = BigIntegerMath.log10(x, FLOOR); in testLog10Exact() 267 assertEquals(logFloor, BigIntegerMath.log10(x, UNNECESSARY)); in testLog10Exact() 278 int result = BigIntegerMath.log10(x, HALF_UP); in testLog10HalfUp() 290 int result = BigIntegerMath.log10(x, HALF_DOWN); in testLog10HalfDown() 303 int halfEven = BigIntegerMath.log10(x, HALF_EVEN); in testLog10HalfEven() 306 boolean floorWasEven = (BigIntegerMath.log10(x, FLOOR) & 1) == 0; in testLog10HalfEven() [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | log-pow.ll | 17 ; CHECK-NEXT: [[LOG1:%.*]] = call fast float @llvm.log10.f32(float [[X:%.*]]) 22 %log = call fast float @llvm.log10.f32(float %pow) 65 %log = call fast double @log10(double %exp) 115 declare double @log10(double) #0 116 declare float @llvm.log10.f32(float)
|
/external/libopus/celt/tests/ |
D | test_unit_rotation.c | 61 snr0 = 20*log10(ener/err); in test_rotation() 69 snr = 20*log10(ener/err); in test_rotation()
|
/external/llvm-project/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | log10.pass.cpp | 25 assert(log10(c) == x); in test() 40 std::complex<double> r = log10(testcases[i]); in test_edges()
|