Home
last modified time | relevance | path

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

12

/frameworks/rs/driver/runtime/
Drs_f16_math.c21 extern half __attribute__((overloadable)) copysign(half x, half y) { in copysign() function
Drs_cl.c415 float __attribute__((overloadable)) copysign(float v1, float v2) { in copysign() function
418 FN_FUNC_FN_FN(copysign)
636 float sign = (p & 0x1) ? copysign(1.f, v) : 1.f; in FN_FUNC_FN_FN()
638 return copysign(f, sign); in FN_FUNC_FN_FN()
681 return copysign(posinf(), v); in FN_FUNC_FN()
687 return copysign(0.f, v); in FN_FUNC_FN()
1893 extern half __attribute__((overloadable)) copysign(half x, half y);
1894 SCALARIZE_HN_FUNC_HN_HN(copysign);
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs88 TEST_FUNC_2(copysign);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs633 f = copysign(f, f);
634 f2 = copysign(f2, f2);
635 f3 = copysign(f3, f3);
636 f4 = copysign(f4, f4);
Dmath.rs257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs631 f = copysign(f, f);
632 f2 = copysign(f2, f2);
633 f3 = copysign(f3, f3);
634 f4 = copysign(f4, f4);
Dmath.rs257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs128 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_fp16.rs114 TEST_HN_FUNC_HN_HN(copysign);
Dmath.rs264 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs257 TEST_FN_FUNC_FN_FN(copysign);
Dmath.rs.bak243 TEST_FN_FUNC_FN_FN(copysign);
Dmath.rs.orig257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs327 BENCH_FN_FUNC_FN_FN(copysign);
/frameworks/rs/api/
Drs_math.spec568 function: copysign
582 …For example, <code>copysign(4.0f, -2.7f)</code> returns -4.0f and <code>copysign(-4.0f, 2.7f)</cod…
585 function: copysign
/frameworks/rs/scriptc/
Drs_math.rsh1156 * copysign: Copies the sign of a number to another
1162 * For example, copysign(4.0f, -2.7f) returns -4.0f and copysign(-4.0f, 2.7f) returns 4.0f.
1165 copysign(float magnitude_value, float sign_value);
1168 copysign(float2 magnitude_value, float2 sign_value);
1171 copysign(float3 magnitude_value, float3 sign_value);
1174 copysign(float4 magnitude_value, float4 sign_value);
1178 copysign(half magnitude_value, half sign_value);
1183 copysign(half2 magnitude_value, half2 sign_value);
1188 copysign(half3 magnitude_value, half3 sign_value);
1193 copysign(half4 magnitude_value, half4 sign_value);
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs2600 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2601 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2602 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2603 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs2670 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2671 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2672 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2673 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs2670 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2671 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2672 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2673 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs2762 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2763 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2764 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2765 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs2600 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2601 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2602 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2603 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs2600 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2601 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2602 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2603 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rs2870 *(float*)buf506 = copysign(*(float*)buf507, *(float*)buf508);
2871 *(float2*)buf509 = copysign(*(float2*)buf510, *(float2*)buf511);
2872 *(float3*)buf512 = copysign(*(float3*)buf513, *(float3*)buf514);
2873 *(float4*)buf515 = copysign(*(float4*)buf516, *(float4*)buf517);
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_math.jd281 <a href='rs_math.html#android_rs:copysign'>copysign</a>
2494 <a name='android_rs:copysign'></a>
2497 <span class='sympad'>copysign</span>
2503 <td>float copysign(float magnitude_value, float sign_value);
2508 …<td><a href='rs_value_types.html#android_rs:float2'>float2</a> copysign(<a href='rs_value_types.ht…
2513 …<td><a href='rs_value_types.html#android_rs:float3'>float3</a> copysign(<a href='rs_value_types.ht…
2518 …<td><a href='rs_value_types.html#android_rs:float4'>float4</a> copysign(<a href='rs_value_types.ht…
2531 <p> For example, <code>copysign(4.0f, -2.7f)</code> returns -4.0f and <code>copysign(-4.0f, 2.7f)</…

12