about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-div.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-08-05T14·07+0200
committersterni <sternenseemann@systemli.org>2023-08-09T12·12+0000
commit55a3b3eb81a1c37b0c5345e68c03520c85564e3d (patch)
treefed17501809109ab90e8324732fdc68a32f1fee5 /tvix/eval/src/tests/tvix_tests/eval-okay-builtins-div.nix
parent984ea69386a47e753c4129e2a6230aa60b4584cd (diff)
feat(sterni/nix): add trivial float library r/6478
Only implements the different conversion types from and to ints for now.
Unfortunately very reliant on builtins.{floor,ceil} which can't be
implemented purely except very inefficiently (to my knowledge), so it
only really works for C++ Nix >= 2.4. Tests are thus skipped for
C++ Nix 2.3.

Change-Id: Idcb1a11df11e214cdba3f2a0715472b370daa7dc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9008
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-builtins-div.nix')
0 files changed, 0 insertions, 0 deletions