/external/vulkan-validation-layers/libs/glm/gtx/ |
integer.hpp | 61 //! Returns the log2 of x. Can be reliably using to compute mipmap count from the texture size. 64 GLM_FUNC_DECL genIUType log2(genIUType x); 66 //! Returns the floor log2 of x.
|
/external/guava/guava/src/com/google/common/math/ |
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); local 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(product, FLOOR) + 1 [all...] |
/external/guava/guava-tests/benchmark/com/google/common/math/ |
BigIntegerMathRoundingBenchmark.java | 54 @Benchmark int log2(int reps) { method in class:BigIntegerMathRoundingBenchmark 58 tmp += BigIntegerMath.log2(positive[j], mode);
|
DoubleMathBenchmark.java | 47 @Benchmark long log2(int reps) { method in class:DoubleMathBenchmark 51 tmp += Double.doubleToRawLongBits(DoubleMath.log2(positiveDoubles[j]));
|
IntMathRoundingBenchmark.java | 54 @Benchmark int log2(int reps) { method in class:IntMathRoundingBenchmark 58 tmp += IntMath.log2(positive[j], mode);
|
LongMathRoundingBenchmark.java | 54 @Benchmark int log2(int reps) { method in class:LongMathRoundingBenchmark 58 tmp += LongMath.log2(positive[j], mode);
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
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(n, RoundingMode.CEILING) [all...] |
/bionic/libm/x86_64/ |
e_log.S | 101 movq log2(%rip), %xmm6 112 mulsd 8+log2(%rip), %xmm7 735 log2: label 740 .type log2,@object 741 .size log2,16
|
e_log10.S | 106 movq log2(%rip), %xmm6 117 mulsd 8+log2(%rip), %xmm7 763 log2: label 768 .type log2,@object 769 .size log2,16
|
s_log1p.S | 117 movq log2(%rip), %xmm6 130 mulsd 8+log2(%rip), %xmm4 769 log2: label 774 .type log2,@object 775 .size log2,16
|
/external/testng/kobalt/wrapper/ |
kobalt-wrapper.jar | |
/prebuilts/go/darwin-x86/src/math/ |
log10.go | 15 // Log2 returns the binary logarithm of x. 17 func Log2(x float64) float64 19 func log2(x float64) float64 { func
|
/prebuilts/go/linux-x86/src/math/ |
log10.go | 15 // Log2 returns the binary logarithm of x. 17 func Log2(x float64) float64 19 func log2(x float64) float64 { func
|
/system/core/metricsd/uploader/ |
metrics_log_base_unittest.cc | 50 MetricsLogBase log2("id", 0, MetricsLogBase::INITIAL_STABILITY_LOG, "1.2.3"); 51 EXPECT_EQ(MetricsLogBase::INITIAL_STABILITY_LOG, log2.log_type());
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_log2.c | 23 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k 116 __weak_reference(log2, log2l);
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
DeviceReportTest.java | 109 DeviceReportLog log2 = new DeviceReportLog(REPORT_NAME_1, STREAM_NAME_2); local 110 log2.addValue(TEST_MESSAGE_2, TEST_VALUE_2, TEST_TYPE_2, TEST_UNIT_2); 111 log2.setSummary(TEST_MESSAGE_2, TEST_VALUE_2, TEST_TYPE_2, TEST_UNIT_2); 112 log2.submit(inst);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/ |
unary_func.hpp | 75 CV_CUDEV_EXPR_UNARY_FUNC(log2)
|
/external/valgrind/coregrind/m_replacemalloc/ |
replacemalloc_core.c | 61 VG_(log2)( VG_(clo_alignment) ) == -1 /* not a power of 2 */)
|
/ndk/sources/android/support/src/msun/ |
e_log2.c | 23 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k 119 __weak_reference(log2, log2l);
|
/ndk/tests/device/math/jni/ |
math.c | 60 d = log2(d);
|
math.cpp | 60 d = log2(d);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
ExifUtil.java | 143 Double shutterSpeedValue = -log2(exposureTime); 156 Double apertureValue = 2 * log2(fNumber); 208 private Double log2(Float value) { 215 private Double log2(Double value) {
|
/system/extras/tests/kernel.config/ |
aslr_test.cpp | 136 unsigned int e_bits = (int) (std::ceil(std::log2(max_addr - min_addr)) - std::log2(getpagesize())); 176 unsigned int pgbits = std::log2(getpagesize()); 189 unsigned int pgbits = std::log2(getpagesize());
|
/external/guava/guava-tests/test/com/google/common/math/ |
BigIntegerMathTest.java | 72 BigIntegerMath.log2(ZERO, mode); 81 BigIntegerMath.log2(BigInteger.valueOf(-1), mode); 90 int result = BigIntegerMath.log2(x, mode); 100 int result = BigIntegerMath.log2(x, mode); 113 assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY))); 123 int result = BigIntegerMath.log2(x, HALF_UP); 134 int result = BigIntegerMath.log2(x, HALF_DOWN); 143 // Relies on the correctness of log2(BigInteger, {HALF_UP,HALF_DOWN}). 146 int halfEven = BigIntegerMath.log2(x, HALF_EVEN); 149 boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0 [all...] |
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
IntMathTest.java | 61 IntMath.log2(0, mode); 71 IntMath.log2(x, mode); 78 // Relies on the correctness of BigIntegrerMath.log2 for all modes except UNNECESSARY. 82 assertEquals(BigIntegerMath.log2(valueOf(x), mode), IntMath.log2(x, mode)); 93 assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY));
|