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

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.25/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
func_exponential.hpp 96 /// @param x log2 function is defined for input values of x defined in the range (0, inf+) in the limit of the type precision.
99 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/log2.xml">GLSL log2 man page</a>
102 GLM_FUNC_DECL genType log2(genType x);
  /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)
  /external/valgrind/auxprogs/
compare-build-logs 23 $prog_name log1 log2
51 my $log2 = $ARGV[1];
55 my %cmd2 = read_log_file($log2);
61 print "*** $file missing in $log2\n";
117 print "*** '$k' is missing in compilation of '$file' in $log2\n";
  /external/v8/test/mjsunit/es6/
math-log2-log10.js 30 [Math.log10, Math.log2].forEach( function(fun) {
47 if (i != -0.5 && i != 0.5) assertEquals(i, Math.log2(Math.pow(2, i)));
56 // Test Math.log2(2^k) for -1074 <= k <= 1023.
61 assertEquals(n, Math.log2(x));
67 assertEquals(n, Math.log2(x));
74 assertEquals(n, Math.log2(x));
79 assertEquals(0.5000000000000001, Math.log2(Math.SQRT2));
82 assertEquals(-0.4999999999999999, Math.log2(Math.SQRT1_2));
84 assertEquals(3.321928094887362, Math.log2(10));
85 assertEquals(6.643856189774724, Math.log2(100))
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
TinyBitSet.java 45 private static int log2(int i) { method in class:TinyBitSet
54 return log2(topbit(value));
  /external/mesa3d/src/gallium/auxiliary/util/
u_math.c 46 /** log2(x), for x in [1.0, 2.0) */
55 log2_table[i] = (float) log2(1.0 + i * (1.0 / LOG2_TABLE_SCALE));
  /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 439 CHECK( -1 == VG_(log2)(0) );
440 CHECK( 0 == VG_(log2)(1) );
441 CHECK( 1 == VG_(log2)(2) );
442 CHECK( -1 == VG_(log2)(3) );
443 CHECK( 2 == VG_(log2)(4) );
444 CHECK( -1 == VG_(log2)(5) );
445 CHECK( -1 == VG_(log2)(6) );
446 CHECK( -1 == VG_(log2)(7) );
447 CHECK( 3 == VG_(log2)(8) );
449 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));
  /ndk/sources/android/support/include/
math.h 91 double log2(double);
  /prebuilts/ndk/current/sources/android/support/include/
math.h 91 double log2(double);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
TaggedRecord.java 54 int log2 = Utility.highBit(count); local
55 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);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/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;
  /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)

Completed in 2512 milliseconds

1 2 3 4 5 6 7 8 91011>>