Tanh returns the hyperbolic tangent of x.
package main import ( "fmt" "math" ) func main() { fmt.Printf("%.2f", math.Tanh(0)) }