diff options
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-float.nix')
-rw-r--r-- | third_party/nix/src/tests/lang/eval-okay-float.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-float.nix b/third_party/nix/src/tests/lang/eval-okay-float.nix new file mode 100644 index 000000000000..b2702c7b1668 --- /dev/null +++ b/third_party/nix/src/tests/lang/eval-okay-float.nix @@ -0,0 +1,6 @@ +[ + (1.1 + 2.3) + (builtins.add (0.5 + 0.5) (2.0 + 0.5)) + ((0.5 + 0.5) * (2.0 + 0.5)) + ((1.5 + 1.5) / (0.5 * 4.0)) +] |