• Home
  • Raw
  • Download

Lines Matching defs:x

38 #define sk_float_sqrt(x)        sqrtf(x)  argument
39 #define sk_float_sin(x) sinf(x) argument
40 #define sk_float_cos(x) cosf(x) argument
41 #define sk_float_tan(x) tanf(x) argument
42 #define sk_float_floor(x) floorf(x) argument
43 #define sk_float_ceil(x) ceilf(x) argument
44 #define sk_float_trunc(x) truncf(x) argument
46 # define sk_float_acos(x) static_cast<float>(acos(x)) argument
47 # define sk_float_asin(x) static_cast<float>(asin(x)) argument
49 # define sk_float_acos(x) acosf(x) argument
50 # define sk_float_asin(x) asinf(x) argument
52 #define sk_float_atan2(y,x) atan2f(y,x) argument
53 #define sk_float_abs(x) fabsf(x) argument
54 #define sk_float_copysign(x, y) copysignf(x, y) argument
55 #define sk_float_mod(x,y) fmodf(x,y) argument
56 #define sk_float_exp(x) expf(x) argument
57 #define sk_float_log(x) logf(x) argument
59 #define sk_float_round(x) sk_float_floor((x) + 0.5f) argument
63 static inline float sk_float_log2(float x) { in sk_float_log2()
68 #define sk_float_log2(x) log2f(x) argument
71 static inline bool sk_float_isfinite(float x) { in sk_float_isfinite()
75 static inline bool sk_float_isinf(float x) { in sk_float_isinf()
79 static inline bool sk_float_isnan(float x) { in sk_float_isnan()
94 static inline int sk_float_saturate2int(float x) { in sk_float_saturate2int()
103 static inline int sk_double_saturate2int(double x) { in sk_double_saturate2int()
112 static inline int64_t sk_float_saturate2int64(float x) { in sk_float_saturate2int64()
118 #define sk_float_floor2int(x) sk_float_saturate2int(sk_float_floor(x)) argument
119 #define sk_float_round2int(x) sk_float_saturate2int(sk_float_floor((x) + 0.5f)) argument
120 #define sk_float_ceil2int(x) sk_float_saturate2int(sk_float_ceil(x)) argument
122 #define sk_float_floor2int_no_saturate(x) (int)sk_float_floor(x) argument
123 #define sk_float_round2int_no_saturate(x) (int)sk_float_floor((x) + 0.5f) argument
124 #define sk_float_ceil2int_no_saturate(x) (int)sk_float_ceil(x) argument
126 #define sk_double_floor(x) floor(x) argument
127 #define sk_double_round(x) floor((x) + 0.5) argument
128 #define sk_double_ceil(x) ceil(x) argument
129 #define sk_double_floor2int(x) (int)floor(x) argument
130 #define sk_double_round2int(x) (int)floor((x) + 0.5) argument
131 #define sk_double_ceil2int(x) (int)ceil(x) argument
139 static inline float sk_double_to_float(double x) { in sk_double_to_float()
147 static inline float sk_float_rsqrt_portable(float x) { in sk_float_rsqrt_portable()
163 static inline float sk_float_rsqrt(float x) { in sk_float_rsqrt()