Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
662
func
ceil(val ref.Val) ref.Val {
663
v := val.(types.Double)
664
return
types.Double(math.Ceil(float64(v)))
665
}
666
667
func
floor(val ref.Val) ref.Val {
668
v := val.(types.Double)
Callers
nothing calls this directly
Calls
1
Double
TypeAlias · 0.92
Tested by
no test coverage detected