Home
last modified time | relevance | path

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

12

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rs160 TEST_IN_FUNC_HN(ilogb);
433 _RS_ASSERT_EQU(ilogb((half) 0), 0x80000000);
434 _RS_ASSERT_EQU(ilogb((half) -0), 0x80000000);
435 _RS_ASSERT_EQU(ilogb(infinity), 0x7fffffff);
436 _RS_ASSERT_EQU(ilogb(negativeInfinity), 0x7fffffff);
437 _RS_ASSERT_EQU(ilogb(nan_half()), 0x7fffffff);
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);
[all …]
Dmath.rs306 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/driver/runtime/
Drs_f16_math.c58 extern int __attribute__((overloadable)) ilogb(half x) { in ilogb() function
Drs_cl.c537 int __attribute__((overloadable)) ilogb(float v) { in ilogb() function
540 IN_FUNC_FN(ilogb)
2016 extern int __attribute__((overloadable)) ilogb(half x);
2018 extern int2 __attribute__((overloadable)) ilogb(half2 v) { in ilogb() function
2020 ret.x = ilogb(v.x); in ilogb()
2021 ret.y = ilogb(v.y); in ilogb()
2024 extern int3 __attribute__((overloadable)) ilogb(half3 v) { in ilogb() function
2026 ret.x = ilogb(v.x); in ilogb()
2027 ret.y = ilogb(v.y); in ilogb()
2028 ret.z = ilogb(v.z); in ilogb()
[all …]
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs110 TEST_FUNC_1_RI(ilogb);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs741 i = ilogb(f);
742 i2 = ilogb(f2);
743 i3 = ilogb(f3);
744 i4 = ilogb(f4);
Dmath.rs283 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rs761 i = ilogb(f);
762 i2 = ilogb(f2);
763 i3 = ilogb(f3);
764 i4 = ilogb(f4);
Dmath.rs308 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs759 i = ilogb(f);
760 i2 = ilogb(f2);
761 i3 = ilogb(f3);
762 i4 = ilogb(f4);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rs150 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/script_api/
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.
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak269 TEST_IN_FUNC_FN(ilogb);
Dmath.rs283 TEST_IN_FUNC_FN(ilogb);
Dmath.rs.orig283 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rs283 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs353 BENCH_IN_FUNC_FN(ilogb);
/frameworks/rs/script_api/include/
Drs_math.rsh2032 * See ldexp() for the reverse operation. See also logb() and ilogb().
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);
[all …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs2704 *(int*)buf770 = ilogb(*(float*)buf771);
2705 *(int2*)buf772 = ilogb(*(float2*)buf773);
2706 *(int3*)buf774 = ilogb(*(float3*)buf775);
2707 *(int4*)buf776 = ilogb(*(float4*)buf777);
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs2704 *(int*)buf770 = ilogb(*(float*)buf771);
2705 *(int2*)buf772 = ilogb(*(float2*)buf773);
2706 *(int3*)buf774 = ilogb(*(float3*)buf775);
2707 *(int4*)buf776 = ilogb(*(float4*)buf777);
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs2774 *(int*)buf770 = ilogb(*(float*)buf771);
2775 *(int2*)buf772 = ilogb(*(float2*)buf773);
2776 *(int3*)buf774 = ilogb(*(float3*)buf775);
2777 *(int4*)buf776 = ilogb(*(float4*)buf777);
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs2774 *(int*)buf770 = ilogb(*(float*)buf771);
2775 *(int2*)buf772 = ilogb(*(float2*)buf773);
2776 *(int3*)buf774 = ilogb(*(float3*)buf775);
2777 *(int4*)buf776 = ilogb(*(float4*)buf777);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs2866 *(int*)buf770 = ilogb(*(float*)buf771);
2867 *(int2*)buf772 = ilogb(*(float2*)buf773);
2868 *(int3*)buf774 = ilogb(*(float3*)buf775);
2869 *(int4*)buf776 = ilogb(*(float4*)buf777);
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs2704 *(int*)buf770 = ilogb(*(float*)buf771);
2705 *(int2*)buf772 = ilogb(*(float2*)buf773);
2706 *(int3*)buf774 = ilogb(*(float3*)buf775);
2707 *(int4*)buf776 = ilogb(*(float4*)buf777);
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rs2998 *(int*)buf822 = ilogb(*(float*)buf823);
2999 *(int2*)buf824 = ilogb(*(float2*)buf825);
3000 *(int3*)buf826 = ilogb(*(float3*)buf827);
3001 *(int4*)buf828 = ilogb(*(float4*)buf829);

12