Its not possible to automate.
Log is one example. You can't just use log(x) but log(x+1).
There are other problems like the "zero problem" and its still possible to devise better approximations with other elementary operations such as |x| or ABS(x).
No comments yet.