Skip to content

Math Acosh

Serkan Algur edited this page Nov 24, 2020 · 2 revisions

Acosh - Inverse hyperbolic cosine.

func Acosh(n float64) float64

Original : https://www.php.net/manual/en/function.acosh.php

Returns the inverse hyperbolic cosine of arg, i.e. the value whose hyperbolic cosine is arg.

Usage

package main

import (
	"fmt"
	"github.com/serkanalgur/phpfuncs"
)

func main() {
	fmt.Println(phpfuncs.Acosh(1))
}

// Expected Result is '0'
Clone this wiki locally