Searched refs:copysign (Results 1 - 4 of 4) sorted by relevance
/frameworks/rs/driver/runtime/ |
H A D | rs_f16_math.c | 1 /* Implementations for copysign, ilogb, and nextafter for float16 based on 21 extern half __attribute__((overloadable)) copysign(half x, half y) { function
|
H A D | rs_cl.c | 415 float __attribute__((overloadable)) copysign(float v1, float v2) { function 418 FN_FUNC_FN_FN(copysign) 633 * the selection of a correct sign incorrect. We correct this. Use copysign 636 float sign = (p & 0x1) ? copysign(1.f, v) : 1.f; 638 return copysign(f, sign); 681 return copysign(posinf(), v); 687 return copysign(0.f, v); 1893 extern half __attribute__((overloadable)) copysign(half x, half y); 1894 SCALARIZE_HN_FUNC_HN_HN(copysign); variable
|
/frameworks/rs/api/ |
H A D | rs_math.spec | 568 function: copysign 582 For example, <code>copysign(4.0f, -2.7f)</code> returns -4.0f and <code>copysign(-4.0f, 2.7f)</code> returns 4.0f. 585 function: copysign
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 1156 * 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(half [all...] |
Completed in 122 milliseconds