1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

FIx floating point evaluation

Fixes #2361.
This commit is contained in:
Eelco Dolstra 2018-08-19 11:59:49 +02:00
parent d277442df5
commit 9b1bdf2db8
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 16 additions and 0 deletions

View file

@ -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))
]