Returns the hyperbolic tangent of x.
Special Cases:
pub fn tanh(x: anytype) @TypeOf(x)
pub fn tanh(x: anytype) @TypeOf(x) { const T = @TypeOf(x); return switch (T) { f32 => tanh32(x), f64 => tanh64(x), else => @compileError("tanh not implemented for " ++ @typeName(T)), }; }