tanh(x) and tanh(0.5 x)