Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:exp

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