/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_fp16.rscript | 160 TEST_IN_FUNC_HN(ilogb); 428 // Test ilogb for 0, +/- infininty and NaN 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); 439 // ilogb(2^n) = n. Test at the boundary on either side of 2^n. 442 _RS_ASSERT_EQU(ilogb((half) 0.24), -3); 443 _RS_ASSERT_EQU(ilogb((half) 0.26), -2); [all …]
|
D | math.rscript | 306 TEST_IN_FUNC_FN(ilogb);
|
/frameworks/rs/driver/runtime/ |
D | rs_f16_math.c | 58 extern int __attribute__((overloadable)) ilogb(half x) { in ilogb() function
|
D | rs_cl.c | 537 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/ |
D | math_fp.rscript | 110 TEST_FUNC_1_RI(ilogb);
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 741 i = ilogb(f); 742 i2 = ilogb(f2); 743 i3 = ilogb(f3); 744 i4 = ilogb(f4);
|
D | math.rscript | 283 TEST_IN_FUNC_FN(ilogb);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 761 i = ilogb(f); 762 i2 = ilogb(f2); 763 i3 = ilogb(f3); 764 i4 = ilogb(f4);
|
D | math.rscript | 308 TEST_IN_FUNC_FN(ilogb);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 759 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/ |
D | math.rscript | 150 TEST_IN_FUNC_FN(ilogb);
|
/frameworks/rs/script_api/ |
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.
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 269 TEST_IN_FUNC_FN(ilogb);
|
D | math.rs.orig | 283 TEST_IN_FUNC_FN(ilogb);
|
D | math.rscript | 283 TEST_IN_FUNC_FN(ilogb);
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 283 TEST_IN_FUNC_FN(ilogb);
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 2032 * 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/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 353 BENCH_IN_FUNC_FN(ilogb);
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rscript | 2774 *(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_15/ |
D | all15.rscript | 2774 *(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_11/ |
D | all11.rscript | 2704 *(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_12/ |
D | all12.rscript | 2704 *(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/ |
D | all13.rscript | 2704 *(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_16/ |
D | all16.rscript | 2866 *(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_17/ |
D | all17.rscript | 2998 *(int*)buf822 = ilogb(*(float*)buf823); 2999 *(int2*)buf824 = ilogb(*(float2*)buf825); 3000 *(int3*)buf826 = ilogb(*(float3*)buf827); 3001 *(int4*)buf828 = ilogb(*(float4*)buf829);
|