MCPcopy Create free account
hub / github.com/cel-expr/cel-go / MathVersion

Function MathVersion

ext/math.go:400–405  ·  view source on GitHub ↗

MathVersion sets the library version for math extensions.

(version uint32)

Source from the content-addressed store, hash-verified

398
399// MathVersion sets the library version for math extensions.
400func MathVersion(version uint32) MathOption {
401 return func(lib *mathLib) *mathLib {
402 lib.version = version
403 return lib
404 }
405}
406
407type mathLib struct {
408 version uint32

Callers 3

TestMathVersionsFunction · 0.85
testMathCostsEnvFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestMathVersionsFunction · 0.68
testMathCostsEnvFunction · 0.68