Searched refs:log2 (Results 1 - 17 of 17) sorted by last modified time

/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DCEchoGals_mixer.cpp1600 static INT32 log2( INT32 iNum ) function
1605 // log2 is undefined for zero, so return -infinity (or close enough)
1638 } // INT32 log2( INT32 iNum )
1658 iPan = log2( iPan );
/haiku/src/system/kernel/util/
H A DBitmap.cpp147 return log2(fBits[i]) + i * kBitsPerElement;
151 return log2(v) + sizeof(uint32) * 8 + i * kBitsPerElement;
152 return log2(fBits[i]) + i * kBitsPerElement;
/haiku/src/tests/libs/icon/flat_icon/
H A DFlatIconFormat.py28 exponent = math.floor(math.log2(abs(value)))
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs_legacy.c2009 void log2() {} function
H A Dlibroot_stubs.c2041 void log2() {} function
/haiku/headers/private/kernel/util/
H A DBitUtils.h44 log2(uint32 v) function
/haiku/headers/posix/
H A Dmath.h231 extern double log2(double x);
/haiku/src/system/libroot/posix/musl/math/x86/
H A Dlog2.s1 .global log2
2 .type log2,@function
3 log2: label
/haiku/src/system/libroot/posix/musl/math/
H A Dlog2l.c60 return log2(x);
104 /* log2(e) - 1 */
161 /* Multiply log of fraction by log2(e)
180 return log2(x);
H A Dlog2.c2 * Double-precision log2(x) function.
28 double log2(double x) function
91 /* log2(x) = log2(z/c) + log2(c) + k. */
108 /* hi + lo = r/ln2 + log2(c) + k. */
113 /* log2(r+1) = r/ln2 + r^2*poly(r). */
/haiku/src/system/libroot/posix/glibc/include/arch/x86_64/
H A Dsysdep.h26 /* ELF uses byte-counts for .align, most others use log2 of count of bytes. */
27 #define ALIGNARG(log2) 1<<log2
34 #define ALIGNARG(log2) log2
/haiku/src/system/libroot/posix/glibc/include/arch/x86/
H A Dsysdep.h28 /* ELF uses byte-counts for .align, most others use log2 of count of bytes. */
29 #define ALIGNARG(log2) 1<<log2
36 #define ALIGNARG(log2) log2
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/
H A Dsysdep.h28 /* ELF uses byte-counts for .align, most others use log2 of count of bytes. */
29 #define ALIGNARG(log2) 1<<log2
36 #define ALIGNARG(log2) log2
H A Dasm-syntax.h23 /* ELF uses byte-counts for .align, most others use log2 of count of bytes. */
24 #define ALIGNARG(log2) 1<<log2
40 #define ALIGNARG(log2) log2
H A Dmathimpl.h32 __inline_mathop (__ieee754_log2, log2)
/haiku/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h136 __MATHCALL (log2,, (_Mdouble_ __x));
/haiku/src/system/libroot/posix/glibc/include/arch/ppc/
H A Dsysdep.h109 #define ALIGNARG(log2) log2

Completed in 156 milliseconds