Lines Matching refs:q
60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ() argument
64 shift += 16-q; in gglRecipQ()
173 uint32_t q = 0; in gglDivQ() local
184 q <<= 8; in gglDivQ()
185 if (n>=0) q |= 128; in gglDivQ()
188 if (n>=0) q |= 64; in gglDivQ()
191 if (n>=0) q |= 32; in gglDivQ()
194 if (n>=0) q |= 16; in gglDivQ()
197 if (n>=0) q |= 8; in gglDivQ()
200 if (n>=0) q |= 4; in gglDivQ()
203 if (n>=0) q |= 2; in gglDivQ()
206 if (n>=0) q |= 1; in gglDivQ()
215 q <<= 1; in gglDivQ()
217 if (n>=0) q |= 1; in gglDivQ()
221 return (ds<0) ? -q : q; in gglDivQ()
225 if (n>=0) q |= 1; in gglDivQ()
282 int32_t r = 0, q = 0, i; in quick_muldiv() local
291 q <<= 1; in quick_muldiv()
294 q++; in quick_muldiv()
299 q++; in quick_muldiv()
303 return q; in quick_muldiv()