Home
last modified time | relevance | path

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

12

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_fp16.rs144 TEST_IN_FUNC_HN(ilogb);
417 _RS_ASSERT_EQU(ilogb((half) 0), 0x80000000);
418 _RS_ASSERT_EQU(ilogb((half) -0), 0x80000000);
419 _RS_ASSERT_EQU(ilogb(infinity), 0x7fffffff);
420 _RS_ASSERT_EQU(ilogb(negativeInfinity), 0x7fffffff);
421 _RS_ASSERT_EQU(ilogb(nan_half()), 0x7fffffff);
426 _RS_ASSERT_EQU(ilogb((half) 0.24), -3);
427 _RS_ASSERT_EQU(ilogb((half) 0.26), -2);
428 _RS_ASSERT_EQU(ilogb((half) 0.49), -2);
429 _RS_ASSERT_EQU(ilogb((half) 0.51), -1);
[all …]
Dmath.rs291 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.c534 int __attribute__((overloadable)) ilogb(float v) { in ilogb() function
537 IN_FUNC_FN(ilogb)
2013 extern int __attribute__((overloadable)) ilogb(half x);
2015 extern int2 __attribute__((overloadable)) ilogb(half2 v) { in ilogb() function
2017 ret.x = ilogb(v.x); in ilogb()
2018 ret.y = ilogb(v.y); in ilogb()
2021 extern int3 __attribute__((overloadable)) ilogb(half3 v) { in ilogb() function
2023 ret.x = ilogb(v.x); in ilogb()
2024 ret.y = ilogb(v.y); in ilogb()
2025 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/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs743 i = ilogb(f);
744 i2 = ilogb(f2);
745 i3 = ilogb(f3);
746 i4 = ilogb(f4);
Dmath.rs283 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/java/tests/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/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs150 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/api/
Drs_math.spec1105 See @ldexp() for the reverse operation. See also @logb() and @ilogb().
1191 function: ilogb
1203 For example, <code>ilogb(8.5f)</code> returns 3.
1211 function: ilogb
1419 @ilogb() is similar but returns an integer.
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs283 TEST_IN_FUNC_FN(ilogb);
Dmath.rs.bak269 TEST_IN_FUNC_FN(ilogb);
Dmath.rs.orig283 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs283 TEST_IN_FUNC_FN(ilogb);
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs353 BENCH_IN_FUNC_FN(ilogb);
/frameworks/rs/scriptc/
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/base/docs/html/guide/topics/renderscript/reference/
Drs_math.jd473 <a href='rs_math.html#android_rs:ilogb'>ilogb</a>
3339 …='rs_math.html#android_rs:logb'>logb</a>() and <a href='rs_math.html#android_rs:ilogb'>ilogb</a>().
3521 <a name='android_rs:ilogb'></a>
3524 <span class='sympad'>ilogb</span>
3530 <td>int ilogb(float v);
3535 …<td><a href='rs_value_types.html#android_rs:int2'>int2</a> ilogb(<a href='rs_value_types.html#andr…
3540 …<td><a href='rs_value_types.html#android_rs:int3'>int3</a> ilogb(<a href='rs_value_types.html#andr…
3545 …<td><a href='rs_value_types.html#android_rs:int4'>int4</a> ilogb(<a href='rs_value_types.html#andr…
3556 <p> For example, <code>ilogb(8.5f)</code> returns 3.
3891 <p> <a href='rs_math.html#android_rs:ilogb'>ilogb</a>() is similar but returns an integer.
/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_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_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_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