I was playing with tanh and what would be very close but not as expensive as tanh, computation wise. I came up with:
2/(1+exp(-2*x))-1
It is VERY close. The biggest delta I saw was like in the 10 to the -15 range. It's still not as cheap as polynomial approximations.
Can somebody differentiate that for me? :)