• Home
  • Raw
  • Download

Lines Matching defs:x

32 static inline float sk_float_copysign(float x, float y) {  in sk_float_copysign()
59 #define sk_float_sqrt(x) sqrtf(x) argument
60 #define sk_float_sin(x) sinf(x) argument
61 #define sk_float_cos(x) cosf(x) argument
62 #define sk_float_tan(x) tanf(x) argument
63 #define sk_float_floor(x) floorf(x) argument
64 #define sk_float_ceil(x) ceilf(x) argument
66 # define sk_float_acos(x) static_cast<float>(acos(x)) argument
67 # define sk_float_asin(x) static_cast<float>(asin(x)) argument
69 # define sk_float_acos(x) acosf(x) argument
70 # define sk_float_asin(x) asinf(x) argument
72 #define sk_float_atan2(y,x) atan2f(y,x) argument
73 #define sk_float_abs(x) fabsf(x) argument
74 #define sk_float_mod(x,y) fmodf(x,y) argument
75 #define sk_float_exp(x) expf(x) argument
76 #define sk_float_log(x) logf(x) argument
78 #define sk_float_round(x) sk_float_floor((x) + 0.5f) argument
82 static inline float sk_float_log2(float x) { in sk_float_log2()
87 #define sk_float_log2(x) log2f(x) argument
91 #define sk_float_isfinite(x) _finite(x) argument
92 #define sk_float_isnan(x) _isnan(x) argument
93 static inline int sk_float_isinf(float x) { in sk_float_isinf()
98 #define sk_float_isfinite(x) isfinite(x) argument
99 #define sk_float_isnan(x) isnan(x) argument
100 #define sk_float_isinf(x) isinf(x) argument
106 #define sk_float_floor2int(x) SkFloatToIntFloor(x) argument
107 #define sk_float_round2int(x) SkFloatToIntRound(x) argument
108 #define sk_float_ceil2int(x) SkFloatToIntCeil(x) argument
110 #define sk_float_floor2int(x) (int)sk_float_floor(x) argument
111 #define sk_float_round2int(x) (int)sk_float_floor((x) + 0.5f) argument
112 #define sk_float_ceil2int(x) (int)sk_float_ceil(x) argument
115 #define sk_double_floor(x) floor(x) argument
116 #define sk_double_round(x) floor((x) + 0.5) argument
117 #define sk_double_ceil(x) ceil(x) argument
118 #define sk_double_floor2int(x) (int)floor(x) argument
119 #define sk_double_round2int(x) (int)floor((x) + 0.5f) argument
120 #define sk_double_ceil2int(x) (int)ceil(x) argument
130 static inline float sk_float_rsqrt_portable(float x) { in sk_float_rsqrt_portable()
144 static inline float sk_float_rsqrt(float x) { in sk_float_rsqrt()