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:
parent
bd0bf6ea7d
commit
8425c2016c
7 changed files with 13 additions and 0 deletions
1
tvix/eval/src/tests/tvix_tests/eval-okay-ceil.exp
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-ceil.exp
Normal file
|
|
@ -0,0 +1 @@
|
|||
[ 4 ]
|
||||
1
tvix/eval/src/tests/tvix_tests/eval-okay-ceil.nix
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-ceil.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
[ (builtins.ceil 3.4) ]
|
||||
1
tvix/eval/src/tests/tvix_tests/eval-okay-floor.exp
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-floor.exp
Normal file
|
|
@ -0,0 +1 @@
|
|||
[ 3 ]
|
||||
1
tvix/eval/src/tests/tvix_tests/eval-okay-floor.nix
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-floor.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
[ (builtins.floor 3.4) ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue