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

Function MathVersion

ext/math.go:398–403  ·  view source on GitHub ↗

MathVersion sets the library version for math extensions.

(version uint32)

Source from the content-addressed store, hash-verified

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

Callers 3

initExtFactoriesFunction · 0.85
TestMathVersionsFunction · 0.85
testMathCostsEnvFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestMathVersionsFunction · 0.68
testMathCostsEnvFunction · 0.68