Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:exp

96     const int32_t exp = lz - 16;
97 if (exp <= 0) x >>= -exp>>1;
98 else x <<= (exp>>1) + (exp & 1);
99 if (exp & 1) {
143 // = 2^(y*log2(x*(2^exp)*(2^-exp))))
144 // = 2^(y*(log2(X)-exp))
145 // = 2^(log2(X)*y - y*exp)
146 // = 2^( - (-log2(X)*y + y*exp) )
148 int32_t exp = gglClz(x) - 16;
149 GGLfixed f = x << exp;
155 p = gglMulAddx(p, y, y*exp);
156 exp = gglFixedToIntFloor(p);
157 if (exp < 31) {
164 p >>= exp;