MCPcopy Create free account
hub / github.com/expr-lang/expr / Exponent

Function Exponent

vm/runtime/runtime.go:307–309  ·  view source on GitHub ↗
(a, b any)

Source from the content-addressed store, hash-verified

305}
306
307func Exponent(a, b any) float64 {
308 return math.Pow(ToFloat64(a), ToFloat64(b))
309}
310
311func MakeRange(min, max int) []int {
312 size := max - min + 1

Callers 1

RunMethod · 0.92

Calls 1

ToFloat64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…