man(1) Manual page archive


NAME
     floor, ceil - floor and ceiling functions

SYNOPSIS
     double floor(x)
     double x;

     double ceil(x)
     double x;

DESCRIPTION
     The floor function returns the largest integer (as a double
     precision number) not greater than x.

     The ceil function returns the smallest integer not less than
     x.

BUGS

 1