tanh works for x=-0.0