floor
builtins.floor
Primop
Docs pulled from | This Revision | about 5 hours ago
Takes 1 arguments
double
Converts an IEEE-754 double-precision floating-point number (double) to the next lower integer.
If the datatype is neither an integer nor a "float", an evaluation error will be thrown.
This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.
Noogle detected
Detected Type
floor :: Float -> Int
Implementation
This function is implemented in c++ and is part of the native nix runtime.