MCPcopy Create free account
hub / github.com/egonelbre/exp / Sqrt

Function Sqrt

pixel/cmc/math.go:23–23  ·  view source on GitHub ↗
(a float32)

Source from the content-addressed store, hash-verified

21func Sin(a float32) float32 { return float32(math.Sin(float64(a))) }
22func Cos(a float32) float32 { return float32(math.Cos(float64(a))) }
23func Sqrt(a float32) float32 { return float32(math.Sqrt(float64(a))) }
24
25func Lerp(a, b, p float32) float32 { return a + (b-a)*p }
26

Callers 1

LFunction · 0.85

Calls 1

SqrtMethod · 0.80

Tested by

no test coverage detected