reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
21 si_int t = ((x & 0xFFFF0000) == 0) << 4; // if (x is small) t = 16 else 0 22 x >>= 16 - t; // x = [0 - 0xFFFF] 25 t = ((x & 0xFF00) == 0) << 3; 26 x >>= 8 - t; // x = [0 - 0xFF] 29 t = ((x & 0xF0) == 0) << 2; 30 x >>= 4 - t; // x = [0 - 0xF] 33 t = ((x & 0xC) == 0) << 1; 34 x >>= 2 - t; // x = [0 - 3] 47 return r + ((2 - x) & -((x & 2) == 0)); 47 return r + ((2 - x) & -((x & 2) == 0));