Home
last modified time | relevance | path

Searched refs:ilogb (Results 1 – 25 of 42) sorted by relevance

12

/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dmath_fp16.rscript160 TEST_IN_FUNC_HN(ilogb);
442 _RS_ASSERT_EQU(ilogb((half) 0.24), -3);
443 _RS_ASSERT_EQU(ilogb((half) 0.26), -2);
444 _RS_ASSERT_EQU(ilogb((half) 0.49), -2);
445 _RS_ASSERT_EQU(ilogb((half) 0.51), -1);
446 _RS_ASSERT_EQU(ilogb((half) 0.99), -1);
447 _RS_ASSERT_EQU(ilogb((half) 1.01), 0);
448 _RS_ASSERT_EQU(ilogb((half) 1.99), 0);
449 _RS_ASSERT_EQU(ilogb((half) 2.01), 1);
450 _RS_ASSERT_EQU(ilogb((half) 1023), 9);
[all …]
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_significand.c28 return __ieee754_scalb(x,(double) -ilogb(x)); in significand()
H A Ds_ilogb.c28 int ilogb(double x) in ilogb() function
H A Ds_fma.c282 if (spread + ilogb(r.hi) > -1023) in fma()
/aosp12/bionic/libm/
H A Dfake_long_double.c31 int ilogbl(long double a1) { return ilogb(a1); } in ilogbl()
H A Dlibm.map.txt154 ilogb;
/aosp12/frameworks/rs/driver/runtime/
H A Drs_f16_math.c58 extern int __attribute__((overloadable)) ilogb(half x) { in ilogb() function
H A Drs_cl.c537 int __attribute__((overloadable)) ilogb(float v) { in ilogb() function
540 IN_FUNC_FN(ilogb)
2020 ret.x = ilogb(v.x); in ilogb()
2021 ret.y = ilogb(v.y); in ilogb()
2026 ret.x = ilogb(v.x); in ilogb()
2027 ret.y = ilogb(v.y); in ilogb()
2028 ret.z = ilogb(v.z); in ilogb()
2033 ret.x = ilogb(v.x); in ilogb()
2034 ret.y = ilogb(v.y); in ilogb()
2035 ret.z = ilogb(v.z); in ilogb()
[all …]
/aosp12/bionic/tests/
H A Dmath_test.cpp1104 TEST(MATH_TEST, ilogb) { in TEST() argument
1105 ASSERT_EQ(FP_ILOGB0, ilogb(0.0)); in TEST()
1106 ASSERT_EQ(FP_ILOGBNAN, ilogb(nan(""))); in TEST()
1107 ASSERT_EQ(INT_MAX, ilogb(HUGE_VAL)); in TEST()
1108 ASSERT_EQ(INT_MAX, ilogb(-HUGE_VAL)); in TEST()
1109 ASSERT_EQ(0, ilogb(1.0)); in TEST()
1110 ASSERT_EQ(3, ilogb(10.0)); in TEST()
1929 DoMathDataTest<1>(g_ilogb_intel_data, ilogb); in TEST()
/aosp12/bionic/libc/include/
H A Dmath.h144 int ilogb(double __x) __attribute_const__;
146 int ilogbl(long double __x) __RENAME_LDBL(ilogb, 3, 3) __attribute_const__;
/aosp12/bionic/tests/headers/posix/
H A Dtgmath_h.c90 TGMATH(ilogb); in tgmath_h()
H A Dmath_h.c219 FUNCTION(ilogb, int (*f)(double)); in math_h()
/aosp12/frameworks/compile/slang/tests/P_math_fp/
H A Dmath_fp.rscript110 TEST_FUNC_1_RI(ilogb);
/aosp12/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A Dapitest.rscript741 i = ilogb(f);
742 i2 = ilogb(f2);
743 i3 = ilogb(f3);
744 i4 = ilogb(f4);
H A Dmath.rscript283 TEST_IN_FUNC_FN(ilogb);
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
H A Dapitest.rscript759 i = ilogb(f);
760 i2 = ilogb(f2);
761 i3 = ilogb(f3);
762 i4 = ilogb(f4);
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A Dapitest.rscript761 i = ilogb(f);
762 i2 = ilogb(f2);
763 i3 = ilogb(f3);
764 i4 = ilogb(f4);
/aosp12/frameworks/rs/script_api/
H A Drs_math.spec1119 See @ldexp() for the reverse operation. See also @logb() and @ilogb().
1205 function: ilogb
1217 For example, <code>ilogb(8.5f)</code> returns 3.
1225 function: ilogb
1433 @ilogb() is similar but returns an integer.
/aosp12/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
H A Dmath.rscript150 TEST_IN_FUNC_FN(ilogb);
/aosp12/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
H A Dmath.rs.bak269 TEST_IN_FUNC_FN(ilogb);
H A Dmath.rs.orig283 TEST_IN_FUNC_FN(ilogb);
H A Dmath.rscript283 TEST_IN_FUNC_FN(ilogb);
/aosp12/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
H A Dmath.rscript283 TEST_IN_FUNC_FN(ilogb);
/aosp12/bionic/libc/tools/
H A Dposix-2013.txt406 ilogb
/aosp12/frameworks/rs/script_api/include/
H A Drs_math.rsh2197 * ilogb: Base two exponent
2202 * For example, ilogb(8.5f) returns 3.
2209 ilogb(float v);
2212 ilogb(float2 v);
2215 ilogb(float3 v);
2218 ilogb(float4 v);
2222 ilogb(half v);
2227 ilogb(half2 v);
2232 ilogb(half3 v);
2237 ilogb(half4 v);
[all …]

12