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

Function ceil

ext/math.go:662–665  ·  view source on GitHub ↗
(val ref.Val)

Source from the content-addressed store, hash-verified

660}
661
662func ceil(val ref.Val) ref.Val {
663 v := val.(types.Double)
664 return types.Double(math.Ceil(float64(v)))
665}
666
667func floor(val ref.Val) ref.Val {
668 v := val.(types.Double)

Callers

nothing calls this directly

Calls 1

DoubleTypeAlias · 0.92

Tested by

no test coverage detected