From 7f7f99f3505ba9bc3d330fe32d3e697a2ad45446 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 10 May 2021 11:47:00 +0200 Subject: Implement `builtins.floor` and `builtins.ceil` using the C library functions internally Closes #4782 Note: even though the type is internally called `NixFloat`, it's actually a `double`. --- tests/lang/eval-okay-floor-ceil.exp | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/lang/eval-okay-floor-ceil.exp (limited to 'tests/lang/eval-okay-floor-ceil.exp') diff --git a/tests/lang/eval-okay-floor-ceil.exp b/tests/lang/eval-okay-floor-ceil.exp new file mode 100644 index 000000000..81f80420b --- /dev/null +++ b/tests/lang/eval-okay-floor-ceil.exp @@ -0,0 +1 @@ +"23;24;23;23" -- cgit v1.2.3