/external/vulkan-validation-layers/libs/glm/detail/ |
H A D | _fixes.hpp | 52 #ifdef log2 53 #undef log2 macro
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
H A D | BigIntegerMathRoundingBenchmark.java | 54 @Benchmark int log2(int reps) { method in class:BigIntegerMathRoundingBenchmark 58 tmp += BigIntegerMath.log2(positive[j], mode);
|
H A D | DoubleMathBenchmark.java | 47 @Benchmark long log2(int reps) { method in class:DoubleMathBenchmark 51 tmp += Double.doubleToRawLongBits(DoubleMath.log2(positiveDoubles[j]));
|
H A D | IntMathRoundingBenchmark.java | 54 @Benchmark int log2(int reps) { method in class:IntMathRoundingBenchmark 58 tmp += IntMath.log2(positive[j], mode);
|
H A D | LongMathRoundingBenchmark.java | 54 @Benchmark int log2(int reps) { method in class:LongMathRoundingBenchmark 58 tmp += LongMath.log2(positive[j], mode);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | f.cpp | 14 * for fast exp2/log2. 44 * - To compute log2 4th order polynomial between [0, 1/9] do: 67 boost::math::ntl::RR log2(const boost::math::ntl::RR& x) function 80 return log2((1.0 + sqrt(x))/(1.0 - sqrt(x)))/sqrt(x);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
H A D | TinyBitSet.java | 45 private static int log2(int i) { method in class:TinyBitSet 54 return log2(topbit(value));
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
H A D | BigIntegerMath.java | 67 public static int log2(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath 94 * Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 142 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); 152 // Use floor(log2(num)) + 1 to prevent overflow of multiplication. 153 int productBits = LongMath.log2(product, FLOOR) + 1; 154 int bits = LongMath.log2(startingNumber, FLOOR) + 1; 160 // Check to see if the floor(log2(num)) + 1 has changed. 169 // Adjust floor(log2(num)) + 1. 178 productBits = LongMath.log2(product, FLOOR) + 1; 233 int bits = LongMath.log2( [all...] |
H A D | DoubleMath.java | 62 * {@link #log2(double, RoundingMode)} is faster. 64 public static double log2(double x) { method in class:DoubleMath
|
H A D | LongMath.java | 80 public static int log2(long x, RoundingMode mode) { method in class:LongMath 97 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 229 int nBits = LongMath.log2(n, RoundingMode.CEILING); 236 // This is an upper bound on log2(numerator, ceiling).
|
H A D | IntMath.java | 84 public static int log2(int x, RoundingMode mode) { method in class:IntMath 101 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 120 * The key idea is that based on the number of leading zeros (equivalently, floor(log2(x))), 121 * we can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x))
|
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_tile_common.c | 18 static int get_tile_offset(int idx, int mis, int log2) { argument 20 const int offset = ((idx * sb_cols) >> log2) << MI_BLOCK_SIZE_LOG2;
|
/external/mesa3d/src/mapi/glapi/gen/ |
H A D | glX_server_table.py | 32 def log2(value): function 78 bits = log2(opcode)
|
/external/guava/guava/src/com/google/common/math/ |
H A D | BigIntegerMath.java | 69 public static int log2(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath 96 * Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 135 int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10); 263 int log2 = log2(x, FLOOR); 264 if (log2 < Double.MAX_EXPONENT) { 267 int shift = (log2 - DoubleUtils.SIGNIFICAND_BITS) & ~1; // even! 325 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); 335 // Use floor(log2(num)) + 1 to prevent overflow of multiplication. 336 int productBits = LongMath.log2(produc [all...] |
H A D | DoubleMath.java | 214 * {@link #log2(double, RoundingMode)} is faster. 216 public static double log2(double x) { method in class:DoubleMath 226 * <p>Regardless of the rounding mode, this is faster than {@code (int) log2(x)}. 233 public static int log2(double x, RoundingMode mode) { method in class:DoubleMath 237 return log2(x * IMPLICIT_BIT, mode) - SIGNIFICAND_BITS; 263 // so log2(x) is never exactly exponent + 0.5.
|
H A D | IntMath.java | 87 public static int log2(int x, RoundingMode mode) { method in class:IntMath 104 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 156 * The key idea is that based on the number of leading zeros (equivalently, floor(log2(x))), 157 * we can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x))
|
H A D | LongMath.java | 85 public static int log2(long x, RoundingMode mode) { method in class:LongMath 102 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 156 * The key idea is that based on the number of leading zeros (equivalently, floor(log2(x))), 157 * we can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x)) 674 int nBits = LongMath.log2(n, RoundingMode.CEILING); 681 // This is an upper bound on log2(numerator, ceiling).
|
/external/testng/kobalt/wrapper/ |
H A D | kobalt-wrapper.jar | ... .String) throws java.io.IOException static void log2 (int, java.lang.String) static void log (int ... |
/external/deqp/modules/gles2/scripts/ |
H A D | genutil.py | 150 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) member in class:GenMath
|
/external/deqp/modules/gles3/scripts/ |
H A D | genutil.py | 160 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) member in class:GenMath
|
/external/deqp/modules/gles31/scripts/ |
H A D | genutil.py | 160 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) member in class:GenMath
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_math.h | 119 static INLINE double log2( double x ) function 143 double log2(double d) function 236 const float k = 1.44269f; /* = log2(e) */ 248 * Fast approximation to log2(x).
|
/external/bison/darwin-lib/ |
H A D | math.h | 1746 # undef log2 1747 # define log2 rpl_log2 1749 _GL_FUNCDECL_RPL (log2, double, (double x)); 1750 _GL_CXXALIAS_RPL (log2, double, (double x)); 1753 # undef log2 1754 _GL_FUNCDECL_SYS (log2, double, (double x)); 1756 _GL_CXXALIAS_SYS (log2, double, (double x)); 1758 _GL_CXXALIASWARN (log2); 1760 # undef log2 macro 1762 _GL_WARN_ON_USE (log2, "log [all...] |
/external/bison/lib/ |
H A D | math.in.h | 1434 # undef log2 macro 1435 # define log2 rpl_log2 macro 1437 _GL_FUNCDECL_RPL (log2, double, (double x)); 1438 _GL_CXXALIAS_RPL (log2, double, (double x)); 1441 # undef log2 macro 1442 _GL_FUNCDECL_SYS (log2, double, (double x)); 1444 _GL_CXXALIAS_SYS (log2, double, (double x)); 1446 _GL_CXXALIASWARN (log2); variable 1448 # undef log2 macro 1450 _GL_WARN_ON_USE (log2, "log [all...] |
/external/bison/linux-lib/ |
H A D | math.h | 1746 # undef log2 1747 # define log2 rpl_log2 1749 _GL_FUNCDECL_RPL (log2, double, (double x)); 1750 _GL_CXXALIAS_RPL (log2, double, (double x)); 1753 # undef log2 1754 _GL_FUNCDECL_SYS (log2, double, (double x)); 1756 _GL_CXXALIAS_SYS (log2, double, (double x)); 1758 _GL_CXXALIASWARN (log2); 1760 # undef log2 macro 1762 _GL_WARN_ON_USE (log2, "log [all...] |