Lines Matching refs:x
35 static inline float fast_exp2f(float x) in fast_exp2f() argument
44 y = ( c[0]) * x; in fast_exp2f()
45 y = (y + c[1]) * x; in fast_exp2f()
46 y = (y + c[2]) * x; in fast_exp2f()
47 y = (y + c[3]) * x; in fast_exp2f()
48 y = (y + c[4]) * x; in fast_exp2f()
66 static inline float fast_log2f(float x) in fast_log2f() argument
76 x = frexpf(x, &e); in fast_log2f()
78 y = ( c[0]) * x; in fast_log2f()
79 y = (y + c[1]) * x; in fast_log2f()
80 y = (y + c[2]) * x; in fast_log2f()
81 y = (y + c[3]) * x; in fast_log2f()
94 static inline float fast_log10f(float x) in fast_log10f() argument
96 return log10f(2) * fast_log2f(x); in fast_log10f()
107 static inline int32_t fast_db_q16(float x) in fast_db_q16() argument
148 union { float f; uint32_t u; } x2 = { .f = x*x }; in fast_db_q16()