Lines Matching refs:float
42 CVT_FUNC_2(type, float)
47 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
54 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
61 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
68 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
75 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
82 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
87 * Convert to float.
89 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float.
91 CVT_FUNC(float)
120 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float2 v); \
121 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v); \
122 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v);
135 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float2 v1, float2 v2); \
136 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v1, float3 v2); \
137 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v1, float4 v2);
140 _RS_RUNTIME float2 __attribute__((const, overloadable)) fnc(float2 v1, float v2); \
141 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, float v2); \
142 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v1, float v2);
177 fnc(float2 v1, float2 v2, float v3); \
179 fnc(float3 v1, float3 v2, float v3); \
181 fnc(float4 v1, float4 v2, float v3);
185 fnc(float2 v1, float v2, float v3); \
187 fnc(float3 v1, float v2, float v3); \
189 fnc(float4 v1, float v2, float v3);
205 * Supports float, float2, float3, float4
207 extern float __attribute__((const, overloadable)) acos(float);
213 * Supports float, float2, float3, float4
215 extern float __attribute__((const, overloadable)) acosh(float);
221 * Supports float, float2, float3, float4
223 _RS_RUNTIME float __attribute__((const, overloadable)) acospi(float v);
229 * Supports float, float2, float3, float4
231 extern float __attribute__((const, overloadable)) asin(float);
237 * Supports float, float2, float3, float4
239 extern float __attribute__((const, overloadable)) asinh(float);
246 * Supports float, float2, float3, float4
248 _RS_RUNTIME float __attribute__((const, overloadable)) asinpi(float v);
254 * Supports float, float2, float3, float4
256 extern float __attribute__((const, overloadable)) atan(float);
262 * Supports float, float2, float3, float4. Both arguments must be of the same
268 extern float __attribute__((const, overloadable)) atan2(float y, float x);
274 * Supports float, float2, float3, float4
276 extern float __attribute__((const, overloadable)) atanh(float);
282 * Supports float, float2, float3, float4
284 _RS_RUNTIME float __attribute__((const, overloadable)) atanpi(float v);
290 * Supports float, float2, float3, float4. Both arguments must be of the same
296 _RS_RUNTIME float __attribute__((const, overloadable)) atan2pi(float y, float x);
303 * Supports float, float2, float3, float4.
305 extern float __attribute__((const, overloadable)) cbrt(float);
311 * Supports float, float2, float3, float4.
313 extern float __attribute__((const, overloadable)) ceil(float);
319 * Supports float, float2, float3, float4. Both arguments must be of the same
325 extern float __attribute__((const, overloadable)) copysign(float x, float y);
331 * Supports float, float2, float3, float4.
333 extern float __attribute__((const, overloadable)) cos(float);
339 * Supports float, float2, float3, float4.
341 extern float __attribute__((const, overloadable)) cosh(float);
347 * Supports float, float2, float3, float4.
349 _RS_RUNTIME float __attribute__((const, overloadable)) cospi(float v);
355 * Supports float, float2, float3, float4.
357 extern float __attribute__((const, overloadable)) erfc(float);
363 * Supports float, float2, float3, float4.
365 extern float __attribute__((const, overloadable)) erf(float);
371 * Supports float, float2, float3, float4.
373 extern float __attribute__((const, overloadable)) exp(float);
379 * Supports float, float2, float3, float4.
381 extern float __attribute__((const, overloadable)) exp2(float);
387 * Supports float, float2, float3, float4. Both arguments must be of the same
390 extern float __attribute__((const, overloadable)) pow(float x, float y);
396 * Supports float, float2, float3, float4.
398 _RS_RUNTIME float __attribute__((const, overloadable)) exp10(float v);
404 * Supports float, float2, float3, float4.
406 extern float __attribute__((const, overloadable)) expm1(float);
412 * Supports float, float2, float3, float4.
414 extern float __attribute__((const, overloadable)) fabs(float);
420 * Supports float, float2, float3, float4. Both arguments must be of the same
423 extern float __attribute__((const, overloadable)) fdim(float, float);
429 * Supports float, float2, float3, float4.
431 extern float __attribute__((const, overloadable)) floor(float);
437 * Supports float, float2, float3, float4.
439 extern float __attribute__((const, overloadable)) fma(float a, float b, float c);
445 * Supports float, float2, float3, float4.
446 * @param x: may be float, float2, float3, float4
447 * @param y: may be float or vector. If vector must match type of x.
449 extern float __attribute__((const, overloadable)) fmax(float x, float y);
456 * @param x: may be float, float2, float3, float4
457 * @param y: may be float or vector. If vector must match type of x.
459 extern float __attribute__((const, overloadable)) fmin(float x, float y);
466 * Supports float, float2, float3, float4.
468 extern float __attribute__((const, overloadable)) fmod(float x, float y);
475 * Supports float, float2, float3, float4.
477 _RS_RUNTIME float __attribute__((pure, overloadable)) fract(float v, float *iptr);
483 * Supports float, float2, float3, float4.
485 static inline float __attribute__((const, overloadable)) fract(float v) {
486 float unused;
508 * @param v Supports float, float2, float3, float4.
511 extern float __attribute__((pure, overloadable)) frexp(float v, int *iptr);
517 * Supports float, float2, float3, float4.
519 extern float __attribute__((const, overloadable)) hypot(float x, float y);
527 extern int __attribute__((const, overloadable)) ilogb(float);
536 extern float __attribute__((const, overloadable)) ldexp(float x, int y);
545 extern float __attribute__((const, overloadable)) lgamma(float);
554 extern float __attribute__((pure, overloadable)) lgamma(float x, int* y);
562 extern float __attribute__((const, overloadable)) log(float);
570 extern float __attribute__((const, overloadable)) log10(float);
578 _RS_RUNTIME float __attribute__((const, overloadable)) log2(float v);
586 extern float __attribute__((const, overloadable)) log1p(float v);
594 extern float __attribute__((const, overloadable)) logb(float);
602 extern float __attribute__((const, overloadable)) mad(float a, float b, float c);
613 extern float __attribute__((pure, overloadable)) modf(float x, float *iret);
616 extern float __attribute__((const, overloadable)) nan(uint);
623 extern float __attribute__((const, overloadable)) nextafter(float x, float y);
631 _RS_RUNTIME float __attribute__((const, overloadable)) pown(float v, int p);
640 _RS_RUNTIME float __attribute__((const, overloadable)) powr(float v, float p);
648 extern float __attribute__((const, overloadable)) remainder(float x, float y);
652 extern float __attribute__((pure, overloadable)) remquo(float, float, int *);
660 extern float __attribute__((const, overloadable)) rint(float);
668 _RS_RUNTIME float __attribute__((const, overloadable)) rootn(float v, int n);
676 extern float __attribute__((const, overloadable)) round(float);
684 extern float __attribute__((const, overloadable)) sqrt(float);
692 _RS_RUNTIME float __attribute__((const, overloadable)) rsqrt(float v);
701 extern float __attribute__((const, overloadable)) sin(float v);
713 _RS_RUNTIME float __attribute__((pure, overloadable)) sincos(float v, float *cosptr);
721 extern float __attribute__((const, overloadable)) sinh(float);
729 _RS_RUNTIME float __attribute__((const, overloadable)) sinpi(float v);
738 extern float __attribute__((const, overloadable)) tan(float v);
747 extern float __attribute__((const, overloadable)) tanh(float);
755 _RS_RUNTIME float __attribute__((const, overloadable)) tanpi(float v);
763 extern float __attribute__((const, overloadable)) tgamma(float);
771 extern float __attribute__((const, overloadable)) trunc(float);
823 XN_FUNC_XN_XN_BODY(float, fnc, body)
843 * Supports 1,2,3,4 components of uchar, char, ushort, short, uint, int, float.
851 * Supports 1,2,3,4 components of uchar, char, ushort, short, uint, int, float.
865 _RS_RUNTIME float __attribute__((const, overloadable)) clamp(float amount, float low, float high);
878 _CLAMP(float);
897 _RS_RUNTIME float __attribute__((const, overloadable)) degrees(float radians);
905 _RS_RUNTIME float __attribute__((const, overloadable)) mix(float start, float stop, float amount);
914 _RS_RUNTIME float __attribute__((const, overloadable)) radians(float degrees);
925 _RS_RUNTIME float __attribute__((const, overloadable)) step(float edge, float v);
930 extern float __attribute__((const, overloadable)) smoothstep(float, float, float);
934 extern float2 __attribute__((const, overloadable)) smoothstep(float, float, float2);
935 extern float3 __attribute__((const, overloadable)) smoothstep(float, float, float3);
936 extern float4 __attribute__((const, overloadable)) smoothstep(float, float, float4);
947 _RS_RUNTIME float __attribute__((const, overloadable)) sign(float v);
963 _RS_RUNTIME float __attribute__((const, overloadable)) dot(float lhs, float rhs);
971 _RS_RUNTIME float __attribute__((const, overloadable)) length(float v);
979 _RS_RUNTIME float __attribute__((const, overloadable)) distance(float lhs, float rhs);
987 _RS_RUNTIME float __attribute__((const, overloadable)) normalize(float v);
999 _RS_RUNTIME float __attribute__((const, overloadable)) half_recip(float);
1007 _RS_RUNTIME float __attribute__((const, overloadable)) half_sqrt(float);
1015 _RS_RUNTIME float __attribute__((const, overloadable)) half_rsqrt(float v);
1023 _RS_RUNTIME float __attribute__((const, overloadable)) fast_length(float v);
1031 _RS_RUNTIME float __attribute__((const, overloadable)) fast_distance(float lhs, float rhs);
1039 _RS_RUNTIME float __attribute__((const, overloadable)) fast_normalize(float v);
1057 _RS_RUNTIME float __attribute__((const, overloadable)) native_exp2(float v);
1067 _RS_RUNTIME float __attribute__((const, overloadable)) native_exp(float v);
1077 _RS_RUNTIME float __attribute__((const, overloadable)) native_exp10(float v);
1081 _RS_RUNTIME float __attribute__((const, overloadable)) native_log2(float v);
1084 _RS_RUNTIME float __attribute__((const, overloadable)) native_log(float v);
1087 _RS_RUNTIME float __attribute__((const, overloadable)) native_log10(float v);
1091 _RS_RUNTIME float __attribute__((const, overloadable)) native_powr(float v, float y);