HomeSort by relevance Sort by last modified time
    Searched refs:log2 (Results 1 - 25 of 524) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-scripts/
log2.exp 1 # Test LOG2() expression in linker script language.
24 if {![ld_assemble $as $srcdir/$subdir/log2.s tmpdir/log2.o]} {
29 if {![ld_simple_link $ld tmpdir/log2 "-T $srcdir/$subdir/log2.t tmpdir/log2.o"]} {
  /external/vulkan-validation-layers/libs/glm/detail/
_fixes.hpp 52 #ifdef log2
53 #undef log2 macro
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/detail/
_fixes.hpp 52 #ifdef log2
53 #undef log2 macro
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestLog2.rs 24 return log2(inV);
28 return log2(inV);
32 return log2(inV);
36 return log2(inV);
40 return log2(inV);
44 return log2(inV);
48 return log2(inV);
52 return log2(inV);
  /prebuilts/go/darwin-x86/src/math/
log10_amd64.s 10 TEXT ·Log2(SB),NOSPLIT,$0
11 JMP ·log2(SB)
log10_arm.s 10 TEXT ·Log2(SB),NOSPLIT,$0
11 B ·log2(SB)
  /prebuilts/go/linux-x86/src/math/
log10_amd64.s 10 TEXT ·Log2(SB),NOSPLIT,$0
11 JMP ·log2(SB)
log10_arm.s 10 TEXT ·Log2(SB),NOSPLIT,$0
11 B ·log2(SB)
  /device/linaro/bootloader/edk2/StdLib/LibC/Math/
w_log2.c 19 * wrapper log2(X)
27 log2(double x) /* wrapper log10 */ function
37 return __kernel_standard(x,x,48); /* log2(0) */
39 return __kernel_standard(x,x,49); /* log2(x<0) */
  /frameworks/base/core/tests/coretests/src/android/util/
TimingsTraceLogTest.java 60 TimingsTraceLog log2 = new TimingsTraceLog("TEST", Trace.TRACE_TAG_APP);
61 log2.traceBegin("test");
62 log2.traceEnd();
  /external/guava/guava-tests/test/com/google/common/math/
DoubleMathTest.java 320 int log2 = DoubleMath.log2(d, FLOOR); local
321 assertTrue(StrictMath.pow(2.0, log2) <= d);
322 assertTrue(StrictMath.pow(2.0, log2 + 1) > d);
326 @GwtIncompatible("DoubleMath.log2(double, RoundingMode), StrictMath")
329 int log2 = DoubleMath.log2(d, CEILING); local
330 assertTrue(StrictMath.pow(2.0, log2) >= d);
331 double z = StrictMath.pow(2.0, log2 - 1);
336 @GwtIncompatible("DoubleMath.log2(double, RoundingMode), StrictMath"
    [all...]
  /external/valgrind/memcheck/tests/
unit_libcbase.c 442 CHECK( -1 == VG_(log2)(0) );
443 CHECK( 0 == VG_(log2)(1) );
444 CHECK( 1 == VG_(log2)(2) );
445 CHECK( -1 == VG_(log2)(3) );
446 CHECK( 2 == VG_(log2)(4) );
447 CHECK( -1 == VG_(log2)(5) );
448 CHECK( -1 == VG_(log2)(6) );
449 CHECK( -1 == VG_(log2)(7) );
450 CHECK( 3 == VG_(log2)(8) );
452 CHECK( -1 == VG_(log2)( 15) )
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
BigIntegerMathTest.java 60 BigIntegerMath.log2(ZERO, mode);
69 BigIntegerMath.log2(BigInteger.valueOf(-1), mode);
78 int result = BigIntegerMath.log2(x, mode);
88 int result = BigIntegerMath.log2(x, mode);
101 assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY)));
111 int result = BigIntegerMath.log2(x, HALF_UP);
122 int result = BigIntegerMath.log2(x, HALF_DOWN);
131 // Relies on the correctness of log2(BigInteger, {HALF_UP,HALF_DOWN}).
134 int halfEven = BigIntegerMath.log2(x, HALF_EVEN);
137 boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0
    [all...]
LongMathTest.java 62 LongMath.log2(0L, mode);
72 LongMath.log2(x, mode);
79 /* Relies on the correctness of BigIntegerMath.log2 for all modes except UNNECESSARY. */
84 assertEquals(BigIntegerMath.log2(valueOf(x), mode), LongMath.log2(x, mode));
95 assertEquals(x, 1L << LongMath.log2(x, UNNECESSARY));
  /external/swiftshader/src/OpenGL/libGL/
mathutil.h 30 inline int log2(int x) function in namespace:gl
  /external/swiftshader/src/OpenGL/libGLES_CM/
mathutil.h 30 inline int log2(int x) function in namespace:es1
  /prebuilts/ndk/r16/sources/android/support/include/
math.h 37 double log2(double);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
TaggedRecord.java 56 int log2 = Utility.highBit(count); local
57 int power = 1 << log2;
  /external/libvpx/libvpx/vp9/common/
vp9_tile_common.c 18 static int get_tile_offset(int idx, int mis, int log2) {
20 const int offset = ((idx * sb_cols) >> log2) << MI_BLOCK_SIZE_LOG2;
  /external/mesa3d/src/gallium/auxiliary/gallivm/
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/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
SubstituteLoggerFactoryTest.java 41 Logger log2 = factory.getLogger("foo"); local
42 assertTrue("Loggers with same name must be same", log == log2);
  /prebuilts/go/darwin-x86/src/sort/
search_test.go 60 // log2 computes the binary logarithm of x, rounded up to the next integer.
61 // (log2(0) == 0, log2(1) == 0, log2(2) == 1, log2(3) == 2, etc.)
63 func log2(x int) int { func
79 max := log2(n)
  /prebuilts/go/linux-x86/src/sort/
search_test.go 60 // log2 computes the binary logarithm of x, rounded up to the next integer.
61 // (log2(0) == 0, log2(1) == 0, log2(2) == 1, log2(3) == 2, etc.)
63 func log2(x int) int { func
79 max := log2(n)
  /external/mesa3d/src/gallium/auxiliary/util/
u_math.c 55 /** log2(x), for x in [1.0, 2.0) */
64 log2_table[i] = (float) log2(1.0 + i * (1.0 / LOG2_TABLE_SCALE));
  /external/swiftshader/src/OpenGL/libGLESv2/
mathutil.h 31 inline int log2(int x) function in namespace:es2

Completed in 324 milliseconds

1 2 3 4 5 6 7 8 91011>>