Is there any standard way for converting an (any) equation into bit-shift operations?
By this I mean converting any thing that is not a + or - into bit-shifts, so the end equation contains only the operands <<, >>, +, and -. This is in the interest of making formulas less processor intensive.
Obviously these resultant equations will only be approximations, giving better accuracy with the more orders considered (first-order, second-order e.t.c).
I have scoured the web for any information on this but can't find any, except for stuff on specific formulas (sin, cos, inv e.t.c).
I was envisioning something like a polynomial or Taylor's expansion procedure, and then converting that to bit-shift operations.