mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Store floating point numbers in double precision
Even on 32-bit systems, Value has enough space to hold a double.
This commit is contained in:
parent
91f49ca108
commit
a92ed973e5
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue