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

Function MathVersion

ext/math.go:399–404  ·  view source on GitHub ↗

MathVersion sets the library version for math extensions.

(version uint32)

Source from the content-addressed store, hash-verified

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

Callers 3

TestMathVersionsFunction · 0.85
testMathCostsEnvFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestMathVersionsFunction · 0.68
testMathCostsEnvFunction · 0.68