Searched defs:log10 (Results 1 - 25 of 29) sorted by relevance

12

/external/guava/guava-tests/benchmark/com/google/common/math/
H A DBigIntegerMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { method in class:BigIntegerMathRoundingBenchmark
67 tmp += BigIntegerMath.log10(positive[j], mode);
H A DIntMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { method in class:IntMathRoundingBenchmark
67 tmp += IntMath.log10(positive[j], mode);
H A DLongMathRoundingBenchmark.java63 @Benchmark int log10(int reps) { method in class:LongMathRoundingBenchmark
67 tmp += LongMath.log10(positive[j], mode);
/external/parameter-framework/upstream/test/test-fixed-point-parameter/
H A DMain.py35 from math import log10 namespace
91 littleValue = 10 ** -(int(fractional * log10(2)))
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java129 public static int log10(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath
132 return LongMath.log10(x.longValue(), mode);
140 * We adjust approxLog10 and approxPow until they're equal to floor(log10(x)) and
141 * 10^floor(log10(x)).
186 // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5
H A DIntMath.java128 public static int log10(int x, RoundingMode mode) { method in class:IntMath
145 // sqrt(10) is irrational, so log10(x) - logFloor is never exactly 0.5
157 * we can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x))
158 * is 6, then 64 <= x < 128, so floor(log10(x)) is either 1 or 2.
162 * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
168 // maxLog10ForLeadingZeros[i] == floor(log10(2^(Long.SIZE - i)))
H A DLongMath.java127 public static int log10(long x, RoundingMode mode) { method in class:LongMath
144 // sqrt(10) is irrational, so log10(x)-logFloor is never exactly 0.5
157 * we can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x))
158 * is 6, then 64 <= x < 128, so floor(log10(x)) is either 1 or 2.
162 * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
168 // maxLog10ForLeadingZeros[i] == floor(log10(2^(Long.SIZE - i)))
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
H A D__clang_cuda_cmath.h121 __DEVICE__ float log10(float __x) { return ::log10f(__x); } function
H A Dtgmath.h928 // log10
936 __tg_log10(double __x) {return log10(__x);}
942 #undef log10 macro
943 #define log10(__x) __tg_log10(__tg_promote1((__x))(__x)) macro
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfp.java1094 public int log10() { method in class:Dfp
2323 /* Find the exponent, first estimate by integer log10, then adjust.
2325 int exponent = (int)(y.log10() * 3.32);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DFastMath.java1506 * @return log10(x)
1508 public static double log10(final double x) { method in class:FastMath
/external/bison/darwin-lib/
H A Dmath.h1607 # undef log10
1608 # define log10 rpl_log10
1610 _GL_FUNCDECL_RPL (log10, double, (double x));
1611 _GL_CXXALIAS_RPL (log10, double, (double x));
1613 _GL_CXXALIAS_SYS (log10, double, (double x));
1615 _GL_CXXALIASWARN (log10);
1617 # undef log10 macro
1619 _GL_WARN_ON_USE (log10, "log10 has portability problems - "
1620 "use gnulib module log10 fo
[all...]
/external/bison/lib/
H A Dmath.in.h1295 # undef log10 macro
1296 # define log10 rpl_log10 macro
1298 _GL_FUNCDECL_RPL (log10, double, (double x));
1299 _GL_CXXALIAS_RPL (log10, double, (double x));
1301 _GL_CXXALIAS_SYS (log10, double, (double x));
1303 _GL_CXXALIASWARN (log10); variable
1305 # undef log10 macro
1307 _GL_WARN_ON_USE (log10, "log10 has portability problems - "
1308 "use gnulib module log10 fo
[all...]
/external/bison/linux-lib/
H A Dmath.h1607 # undef log10
1608 # define log10 rpl_log10
1610 _GL_FUNCDECL_RPL (log10, double, (double x));
1611 _GL_CXXALIAS_RPL (log10, double, (double x));
1613 _GL_CXXALIAS_SYS (log10, double, (double x));
1615 _GL_CXXALIASWARN (log10);
1617 # undef log10 macro
1619 _GL_WARN_ON_USE (log10, "log10 has portability problems - "
1620 "use gnulib module log10 fo
[all...]
/external/clang/lib/Headers/
H A Dtgmath.h928 // log10
936 __tg_log10(double __x) {return log10(__x);}
942 #undef log10 macro
943 #define log10(__x) __tg_log10(__tg_promote1((__x))(__x)) macro
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp50 Ambiguous log10(Ambiguous){ return Ambiguous(); } function
390 static_assert((std::is_same<decltype(std::log10((float)0)), float>::value), "");
391 static_assert((std::is_same<decltype(std::log10((bool)0)), double>::value), "");
392 static_assert((std::is_same<decltype(std::log10((unsigned short)0)), double>::value), "");
393 static_assert((std::is_same<decltype(std::log10((int)0)), double>::value), "");
394 static_assert((std::is_same<decltype(std::log10((unsigned int)0)), double>::value), "");
395 static_assert((std::is_same<decltype(std::log10((long)0)), double>::value), "");
396 static_assert((std::is_same<decltype(std::log10((unsigned long)0)), double>::value), "");
397 static_assert((std::is_same<decltype(std::log10((long long)0)), double>::value), "");
398 static_assert((std::is_same<decltype(std::log10((unsigne
[all...]
/external/v8/src/base/
H A Dieee754.cc1839 * Let log10_2hi = leading 40 bits of log10(2) and
1840 * log10_2lo = log10(2) - log10_2hi,
1846 * log10(x) := n*log10_2hi + (n*log10_2lo + ivln10*log(x))
1849 * To guarantee log10(10**n)=n, where 10**n is normal, the rounding
1853 * log10 is monotonic at all binary break points.
1856 * log10(x) is NaN if x < 0;
1857 * log10(+INF) is +INF; log10(0) is -INF;
1858 * log10(NaN) is that NaN;
1859 * log10(1
1861 double log10(double x) { function in namespace:v8::base::ieee754
[all...]
/external/guice/extensions/persist/lib/
H A Dhsqldb.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hsqldb/ org/hsqldb/index/ org/hsqldb/jdbc/ org/ ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/robolectric/v1/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/dagger2/lib/
H A Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...

Completed in 808 milliseconds

12