MCPcopy Index your code
hub / github.com/yuin/gopher-lua / mathAbs

Function mathAbs

mathlib.go:48–51  ·  view source on GitHub ↗
(L *LState)

Source from the content-addressed store, hash-verified

46}
47
48func mathAbs(L *LState) int {
49 L.Push(LNumber(math.Abs(float64(L.CheckNumber(1)))))
50 return 1
51}
52
53func mathAcos(L *LState) int {
54 L.Push(LNumber(math.Acos(float64(L.CheckNumber(1)))))

Callers

nothing calls this directly

Calls 3

LNumberTypeAlias · 0.85
CheckNumberMethod · 0.80
PushMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…