• Home
  • Raw
  • Download

Lines Matching defs:x

37 #define sk_float_sqrt(x)        sqrtf(x)  argument
38 #define sk_float_sin(x) sinf(x) argument
39 #define sk_float_cos(x) cosf(x) argument
40 #define sk_float_tan(x) tanf(x) argument
41 #define sk_float_floor(x) floorf(x) argument
42 #define sk_float_ceil(x) ceilf(x) argument
43 #define sk_float_trunc(x) truncf(x) argument
45 # define sk_float_acos(x) static_cast<float>(acos(x)) argument
46 # define sk_float_asin(x) static_cast<float>(asin(x)) argument
48 # define sk_float_acos(x) acosf(x) argument
49 # define sk_float_asin(x) asinf(x) argument
51 #define sk_float_atan2(y,x) atan2f(y,x) argument
52 #define sk_float_abs(x) fabsf(x) argument
53 #define sk_float_copysign(x, y) copysignf(x, y) argument
54 #define sk_float_mod(x,y) fmodf(x,y) argument
55 #define sk_float_exp(x) expf(x) argument
56 #define sk_float_log(x) logf(x) argument
58 #define sk_float_round(x) sk_float_floor((x) + 0.5f) argument
62 static inline float sk_float_log2(float x) { in sk_float_log2()
67 #define sk_float_log2(x) log2f(x) argument
71 #define sk_float_isfinite(x) _finite(x) argument
72 #define sk_float_isnan(x) _isnan(x) argument
73 static inline int sk_float_isinf(float x) { in sk_float_isinf()
78 #define sk_float_isfinite(x) isfinite(x) argument
79 #define sk_float_isnan(x) isnan(x) argument
80 #define sk_float_isinf(x) isinf(x) argument
86 #define sk_float_floor2int(x) SkFloatToIntFloor(x) argument
87 #define sk_float_round2int(x) SkFloatToIntRound(x) argument
88 #define sk_float_ceil2int(x) SkFloatToIntCeil(x) argument
90 #define sk_float_floor2int(x) (int)sk_float_floor(x) argument
91 #define sk_float_round2int(x) (int)sk_float_floor((x) + 0.5f) argument
92 #define sk_float_ceil2int(x) (int)sk_float_ceil(x) argument
95 #define sk_double_floor(x) floor(x) argument
96 #define sk_double_round(x) floor((x) + 0.5) argument
97 #define sk_double_ceil(x) ceil(x) argument
98 #define sk_double_floor2int(x) (int)floor(x) argument
99 #define sk_double_round2int(x) (int)floor((x) + 0.5f) argument
100 #define sk_double_ceil2int(x) (int)ceil(x) argument
107 static inline float sk_float_rsqrt_portable(float x) { in sk_float_rsqrt_portable()
123 static inline float sk_float_rsqrt(float x) { in sk_float_rsqrt()