diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-07-03 18:04:51 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-07-03 18:39:32 +0200 |
commit | a92ed973e569324b55cddb128f6f638f3ea1985c (patch) | |
tree | 53d8d28c233ed213d09afc63d5118bac5284f79b /src/libexpr | |
parent | 91f49ca1086b43a55e08dfccf1c49eb512a2abc9 (diff) |
Store floating point numbers in double precision
Even on 32-bit systems, Value has enough space to hold a double.
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/value.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index 66b41a158..809772f7c 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -44,7 +44,7 @@ class JSONPlaceholder; typedef long NixInt; -typedef float NixFloat; +typedef double NixFloat; /* External values must descend from ExternalValueBase, so that * type-agnostic nix functions (e.g. showType) can be implemented |