query
On this page

ceil

builtins.ceil

Primop
Docs pulled from | This Revision | 1 day ago

Takes 1 arguments

double


Converts an IEEE-754 double-precision floating-point number (double) to the next higher 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
ceil :: Float -> Int

Implementation

This function is implemented in c++ and is part of the native nix runtime.