Standard library / math
math.Acosh()
Inverse hyperbolic cosine; real domain starts at 1. Expected stdout: '0\n'.
Formal Syntax & Structure
go syntaxgo
func Acosh(x float64) float64Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| x | float64 | First input operand (or sole input if unary). |
Return Value
float64
Inverse hyperbolic cosine; real domain starts at 1.
Working Example
Example Snippetgo
package main
import ( "fmt" "math")
func main() { fmt.Println(math.Acosh(1))}