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.c418 float __attribute__((overloadable)) copysign(float v1, float v2) { in copysign() function
421 FN_FUNC_FN_FN(copysign)
639 float sign = (p & 0x1) ? copysign(1.f, v) : 1.f; in FN_FUNC_FN_FN()
641 return copysign(f, sign); in FN_FUNC_FN_FN()
684 return copysign(posinf(), v); in FN_FUNC_FN()
690 return copysign(0.f, v); in FN_FUNC_FN()
1896 extern half __attribute__((overloadable)) copysign(half x, half y);
1897 SCALARIZE_HN_FUNC_HN_HN(copysign);
/frameworks/native/libs/ui/
DColorSpace.cpp45 return std::copysign(xx >= d * c ? (std::pow(xx, 1.0f / g) - b) / a : xx / c, x); in absRcpResponse()
50 return std::copysign(xx >= d ? std::pow(a * xx + b, g) : c * xx, x); in absResponse()
/frameworks/base/libs/hwui/utils/
DHostColorSpace.cpp46 return std::copysign(xx >= d * c ? (std::pow(xx, 1.0f / g) - b) / a : xx / c, x); in absRcpResponse()
51 return std::copysign(xx >= d ? std::pow(a * xx + b, g) : c * xx, x); in absResponse()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rscript88 TEST_FUNC_2(copysign);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript631 f = copysign(f, f);
632 f2 = copysign(f2, f2);
633 f3 = copysign(f3, f3);
634 f4 = copysign(f4, f4);
Dmath.rscript257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript649 f = copysign(f, f);
650 f2 = copysign(f2, f2);
651 f3 = copysign(f3, f3);
652 f4 = copysign(f4, f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript651 f = copysign(f, f);
652 f2 = copysign(f2, f2);
653 f3 = copysign(f3, f3);
654 f4 = copysign(f4, f4);
Dmath.rscript282 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript128 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak243 TEST_FN_FUNC_FN_FN(copysign);
Dmath.rscript257 TEST_FN_FUNC_FN_FN(copysign);
Dmath.rs.orig257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript257 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript130 TEST_HN_FUNC_HN_HN(copysign);
Dmath.rscript280 TEST_FN_FUNC_FN_FN(copysign);
/frameworks/rs/script_api/
Drs_math.spec582 function: copysign
596 …For example, <code>copysign(4.0f, -2.7f)</code> returns -4.0f and <code>copysign(-4.0f, 2.7f)</cod…
599 function: copysign
/frameworks/rs/script_api/include/
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/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript327 BENCH_FN_FUNC_FN_FN(copysign);
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rscript2670 *(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.rscript2670 *(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_13/
Dall13.rscript2600 *(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_11/
Dall11.rscript2600 *(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_12/
Dall12.rscript2600 *(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);

12