Lines Matching refs:r
42 uint32_t r = a; in gglRecipQNormalized() local
47 r = (0x2E800 << (30-16)) - (r>>(2-1)); // 2.30, r = 2.90625 - 2*a in gglRecipQNormalized()
50 r = (((2LU<<30) - uint32_t((uint64_t(a)*r) >> 32)) * uint64_t(r)) >> 30; in gglRecipQNormalized()
51 r = (((2LU<<30) - uint32_t((uint64_t(a)*r) >> 32)) * uint64_t(r)) >> 30; in gglRecipQNormalized()
56 r >>= 1; in gglRecipQNormalized()
57 return s ? -r : r; in gglRecipQNormalized()
100 GGLfixed r = 0; in gglSqrtx() local
104 GGLfixed temp = bit + (r<<1); in gglSqrtx()
108 r += bit; in gglSqrtx()
113 return r; in gglSqrtx()
262 uint32_t r = hi; in slow_muldiv() local
266 r = (r << 1) | (lo >> 31); in slow_muldiv()
269 if (r >= c) { in slow_muldiv()
270 r -= c; in slow_muldiv()
282 int32_t r = 0, q = 0, i; in quick_muldiv() local
287 r <<= 1; in quick_muldiv()
289 r += b; in quick_muldiv()
292 if (r >= c) { in quick_muldiv()
293 r -= c; in quick_muldiv()
297 if (r >= c) { in quick_muldiv()
298 r -= c; in quick_muldiv()