MCPcopy Create free account
hub / github.com/EngoEngine/engo / Acos

Function Acos

math/all.go:11–13  ·  view source on GitHub ↗

Acos returns the arccosine, in radians, of x. Special case is: Acos(x) = NaN if x < -1 or x > 1

(x float32)

Source from the content-addressed store, hash-verified

9// Special case is:
10// Acos(x) = NaN if x < -1 or x > 1
11func Acos(x float32) float32 {
12 return engomath.Acos(x)
13}
14
15// Asin returns the arcsine, in radians, of x.
16//

Callers 1

triangleAreaFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected