Home
last modified time | relevance | path

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

123456789

/external/python/cpython2/Lib/test/decimaltestdata/
Dlog10.decTest2 -- 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/
Dcmath_testcases.txt1240 -- 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/swiftshader/third_party/LLVM/test/CodeGen/XCore/
Dlog10.ll3 ; RUN: grep "bl log10" %t1.s | count 2
4 declare double @llvm.log10.f64(double)
7 %result = call double @llvm.log10.f64(double %F)
11 declare float @llvm.log10.f32(float)
14 %result = call float @llvm.log10.f32(float %F)
/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/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/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dlog10.pass.cpp25 assert(log10(c) == x); in test()
40 std::complex<double> r = log10(testcases[i]); in test_edges()
/external/libopus/celt/tests/
Dtest_unit_rotation.c95 snr0 = 20*log10(ener/err); in test_rotation()
103 snr = 20*log10(ener/err); in test_rotation()
/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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DHistogramView.java182 int order = (int) Math.ceil((Math.log10(maxBufferPeriodFreq)) / in fillCanvas()
183 (Math.log10(mYAxisBase))); in fillCanvas()
308 float units = (float) (((Math.log10((double) mDisplayData[i])) / in fillCanvas()
309 Math.log10(mYAxisBase)) + 1.0); in fillCanvas()
/external/guava/guava-tests/benchmark/com/google/common/math/
DIntMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { in log10() method in IntMathRoundingBenchmark
67 tmp += IntMath.log10(positive[j], mode); in log10()
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()
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h129 __DEVICE__ double log10(double);
130 __DEVICE__ float log10(float);
232 using ::log10;
/external/fio/
Dtickmarks.c22 exp = floor(log10(x)); in nicenum()
105 nfrac = MAX(-floor(log10(d)), 0); in calc_tickmarks()
/external/eigen/doc/snippets/
DCwise_log10.cpp2 cout << log10(v) << endl;
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py46 numerator = math.log10(1-(total_sleep/delay_sec)*(1-backoff))
47 denominator = math.log10(backoff)
/external/swiftshader/third_party/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/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

123456789