Cosh in Go

Posted by GoDoc
Public (Editable by Users)

Cosh returns the hyperbolic cosine of x.

Go
Edit
package main

import (
	"fmt"
	"math"
)

func main() {
	fmt.Printf("%.2f", math.Cosh(0))
}