• Home
  • Raw
  • Download

Lines Matching defs:x

34 #define sk_float_sqrt(x)        sqrtf(x)  argument
35 #define sk_float_sin(x) sinf(x) argument
36 #define sk_float_cos(x) cosf(x) argument
37 #define sk_float_tan(x) tanf(x) argument
38 #define sk_float_floor(x) floorf(x) argument
39 #define sk_float_ceil(x) ceilf(x) argument
40 #define sk_float_trunc(x) truncf(x) argument
42 # define sk_float_acos(x) static_cast<float>(acos(x)) argument
43 # define sk_float_asin(x) static_cast<float>(asin(x)) argument
45 # define sk_float_acos(x) acosf(x) argument
46 # define sk_float_asin(x) asinf(x) argument
48 #define sk_float_atan2(y,x) atan2f(y,x) argument
49 #define sk_float_abs(x) fabsf(x) argument
50 #define sk_float_copysign(x, y) copysignf(x, y) argument
51 #define sk_float_mod(x,y) fmodf(x,y) argument
52 #define sk_float_exp(x) expf(x) argument
53 #define sk_float_log(x) logf(x) argument
55 #define sk_float_round(x) sk_float_floor((x) + 0.5f) argument
59 static inline float sk_float_log2(float x) { in sk_float_log2()
64 #define sk_float_log2(x) log2f(x) argument
68 #define sk_float_isfinite(x) _finite(x) argument
69 #define sk_float_isnan(x) _isnan(x) argument
70 static inline int sk_float_isinf(float x) { in sk_float_isinf()
74 #define sk_float_isfinite(x) isfinite(x) argument
75 #define sk_float_isnan(x) isnan(x) argument
76 #define sk_float_isinf(x) isinf(x) argument
90 static inline int sk_float_saturate2int(float x) { in sk_float_saturate2int()
99 static inline int sk_double_saturate2int(double x) { in sk_double_saturate2int()
108 static inline int64_t sk_float_saturate2int64(float x) { in sk_float_saturate2int64()
114 #define sk_float_floor2int(x) sk_float_saturate2int(sk_float_floor(x)) argument
115 #define sk_float_round2int(x) sk_float_saturate2int(sk_float_floor((x) + 0.5f)) argument
116 #define sk_float_ceil2int(x) sk_float_saturate2int(sk_float_ceil(x)) argument
118 #define sk_float_floor2int_no_saturate(x) (int)sk_float_floor(x) argument
119 #define sk_float_round2int_no_saturate(x) (int)sk_float_floor((x) + 0.5f) argument
120 #define sk_float_ceil2int_no_saturate(x) (int)sk_float_ceil(x) argument
122 #define sk_double_floor(x) floor(x) argument
123 #define sk_double_round(x) floor((x) + 0.5) argument
124 #define sk_double_ceil(x) ceil(x) argument
125 #define sk_double_floor2int(x) (int)floor(x) argument
126 #define sk_double_round2int(x) (int)floor((x) + 0.5f) argument
127 #define sk_double_ceil2int(x) (int)ceil(x) argument
135 static inline float sk_double_to_float(double x) { in sk_double_to_float()
144 static inline float sk_float_rsqrt_portable(float x) { in sk_float_rsqrt_portable()
160 static inline float sk_float_rsqrt(float x) { in sk_float_rsqrt()