feat(tvix/eval): add builtins.{floor,ceil}

Change-Id: I4e6c4f96f6f5097a5c637eb3dbbd7bb8b34b7d52
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7032
Autosubmit: j4m3s <james.landrein@gmail.com>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
James Landrein 2022-10-17 23:37:47 +02:00 committed by j4m3s
parent bd0bf6ea7d
commit 8425c2016c
7 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1 @@
[ 4 ]

View file

@ -0,0 +1 @@
[ (builtins.ceil 3.4) ]

View file

@ -0,0 +1 @@
[ 3 ]

View file

@ -0,0 +1 @@
[ (builtins.floor 3.4) ]