/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | math_fp16.rscript | 160 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 D | s_significand.c | 28 return __ieee754_scalb(x,(double) -ilogb(x)); in significand()
|
H A D | s_ilogb.c | 28 int ilogb(double x) in ilogb() function
|
H A D | s_fma.c | 282 if (spread + ilogb(r.hi) > -1023) in fma()
|
/aosp12/bionic/libm/ |
H A D | fake_long_double.c | 31 int ilogbl(long double a1) { return ilogb(a1); } in ilogbl()
|
H A D | libm.map.txt | 154 ilogb;
|
/aosp12/frameworks/rs/driver/runtime/ |
H A D | rs_f16_math.c | 58 extern int __attribute__((overloadable)) ilogb(half x) { in ilogb() function
|
H A D | rs_cl.c | 537 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 D | math_test.cpp | 1104 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 D | math.h | 144 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 D | tgmath_h.c | 90 TGMATH(ilogb); in tgmath_h()
|
H A D | math_h.c | 219 FUNCTION(ilogb, int (*f)(double)); in math_h()
|
/aosp12/frameworks/compile/slang/tests/P_math_fp/ |
H A D | math_fp.rscript | 110 TEST_FUNC_1_RI(ilogb);
|
/aosp12/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | apitest.rscript | 741 i = ilogb(f); 742 i2 = ilogb(f2); 743 i3 = ilogb(f3); 744 i4 = ilogb(f4);
|
H A D | math.rscript | 283 TEST_IN_FUNC_FN(ilogb);
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
H A D | apitest.rscript | 759 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 D | apitest.rscript | 761 i = ilogb(f); 762 i2 = ilogb(f2); 763 i3 = ilogb(f3); 764 i4 = ilogb(f4);
|
/aosp12/frameworks/rs/script_api/ |
H A D | rs_math.spec | 1119 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 D | math.rscript | 150 TEST_IN_FUNC_FN(ilogb);
|
/aosp12/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
H A D | math.rs.bak | 269 TEST_IN_FUNC_FN(ilogb);
|
H A D | math.rs.orig | 283 TEST_IN_FUNC_FN(ilogb);
|
H A D | math.rscript | 283 TEST_IN_FUNC_FN(ilogb);
|
/aosp12/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
H A D | math.rscript | 283 TEST_IN_FUNC_FN(ilogb);
|
/aosp12/bionic/libc/tools/ |
H A D | posix-2013.txt | 406 ilogb
|
/aosp12/frameworks/rs/script_api/include/ |
H A D | rs_math.rsh | 2197 * 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 …]
|