
Keith B. answered 12/21/20
Software Engineer and Math Geek
I would ask why you'd want to code your code this way as part of my response. Today's compilers are super efficient, and would generate the necessary code to make the multiplication and division as fast as possible. While your code might take advantage of bit manipulation, I doubt it would that much faster than what the compiler could optimize.
The other thing to consider is readability. You want your code to be readable, for others who may use your code or even yourself if you come back at a later time. Reading "value = x * 10;" is far more easy to figure out than "value = x << 3 + x << 1;" When you've written enough code, obfuscation is something you want to avoid.