Ceil
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
float _ceil(float x);
Function
Calculates the ceiling of a value, i.e. the smallest integer larger or equal to the value.
Parameters
x Value of which the ceiling shall be calculated.
Return Values
Ceiling of x.
float x;x = _ceil(3.6); // x == 4.0
_floor | _round