Lines Matching defs:x
32 static inline float sk_float_copysign(float x, float y) { in sk_float_copysign()
60 #define sk_float_sqrt(x) (float)::sqrt(x) argument
61 #define sk_float_sin(x) (float)::sin(x) argument
62 #define sk_float_cos(x) (float)::cos(x) argument
63 #define sk_float_tan(x) (float)::tan(x) argument
64 #define sk_float_acos(x) (float)::acos(x) argument
65 #define sk_float_asin(x) (float)::asin(x) argument
66 #define sk_float_atan2(y,x) (float)::atan2(y,x) argument
67 #define sk_float_abs(x) (float)::fabs(x) argument
68 #define sk_float_mod(x,y) (float)::fmod(x,y) argument
69 #define sk_float_exp(x) (float)::exp(x) argument
70 #define sk_float_log(x) (float)::log(x) argument
71 #define sk_float_floor(x) (float)::floor(x) argument
72 #define sk_float_ceil(x) (float)::ceil(x) argument
74 #define sk_float_sqrt(x) sqrtf(x) argument
75 #define sk_float_sin(x) sinf(x) argument
76 #define sk_float_cos(x) cosf(x) argument
77 #define sk_float_tan(x) tanf(x) argument
78 #define sk_float_floor(x) floorf(x) argument
79 #define sk_float_ceil(x) ceilf(x) argument
81 #define sk_float_acos(x) static_cast<float>(acos(x)) argument
82 #define sk_float_asin(x) static_cast<float>(asin(x)) argument
84 #define sk_float_acos(x) acosf(x) argument
85 #define sk_float_asin(x) asinf(x) argument
87 #define sk_float_atan2(y,x) atan2f(y,x) argument
88 #define sk_float_abs(x) fabsf(x) argument
89 #define sk_float_mod(x,y) fmodf(x,y) argument
90 #define sk_float_exp(x) expf(x) argument
91 #define sk_float_log(x) logf(x) argument
96 static inline float sk_float_log2(float x) { in sk_float_log2()
101 #define sk_float_log2(x) log2f(x) argument
105 #define sk_float_isfinite(x) _finite(x) argument
106 #define sk_float_isnan(x) _isnan(x) argument
107 static inline int sk_float_isinf(float x) { in sk_float_isinf()
112 #define sk_float_isfinite(x) isfinite(x) argument
113 #define sk_float_isnan(x) isnan(x) argument
114 #define sk_float_isinf(x) isinf(x) argument
120 #define sk_float_floor2int(x) SkFloatToIntFloor(x) argument
121 #define sk_float_round2int(x) SkFloatToIntRound(x) argument
122 #define sk_float_ceil2int(x) SkFloatToIntCeil(x) argument
124 #define sk_float_floor2int(x) (int)sk_float_floor(x) argument
125 #define sk_float_round2int(x) (int)sk_float_floor((x) + 0.5f) argument
126 #define sk_float_ceil2int(x) (int)sk_float_ceil(x) argument
129 #define sk_double_floor(x) floor(x) argument
130 #define sk_double_round(x) floor((x) + 0.5) argument
131 #define sk_double_ceil(x) ceil(x) argument
132 #define sk_double_floor2int(x) (int)floor(x) argument
133 #define sk_double_round2int(x) (int)floor((x) + 0.5f) argument
134 #define sk_double_ceil2int(x) (int)ceil(x) argument
152 static inline float sk_float_rsqrt(const float x) { in sk_float_rsqrt()